diff --git a/src/linux/net/newip/Kconfig b/src/linux/net/newip/Kconfig index eb271840de40dbfcf3449a6ceb7835810015b100..603a4208ddc60b01bb0e2d1243ef765ab020c9c5 100644 --- a/src/linux/net/newip/Kconfig +++ b/src/linux/net/newip/Kconfig @@ -2,9 +2,6 @@ # Copyright (c) 2022 Huawei Device Co., Ltd. # -# net/newip/hooks/Kconfig -source "net/newip/hooks/Kconfig" - # net/newip/Kconfig config NEWIP def_bool $(success,$(srctree)/scripts/ohos-check-dir.sh $(srctree)/net/newip) @@ -18,3 +15,10 @@ config NEWIP_FAST_KEEPALIVE depends on NEWIP help Support for NewIP fast keepalive. + +config NEWIP_HOOKS + def_bool NEWIP && VENDOR_HOOKS + help + Enable NewIP hooks implemented as tracepoints + Allow NewIP modules to attach to tracepoint "hooks" defined via + DECLARE_TRACE or DECLARE_HOOK \ No newline at end of file diff --git a/src/linux/net/newip/hooks/Kconfig b/src/linux/net/newip/hooks/Kconfig deleted file mode 100644 index 9439f88109cfec9eee2eebda5c747d02f2f57131..0000000000000000000000000000000000000000 --- a/src/linux/net/newip/hooks/Kconfig +++ /dev/null @@ -1,13 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 -# Copyright (c) 2022 Huawei Device Co., Ltd. -# - -config NEWIP_HOOKS - bool "NEWIP HOOKS" - default n - depends on VENDOR_HOOKS && NEWIP - help - Enable NewIP hooks implemented as tracepoints - Allow NewIP modules to attach to tracepoint "hooks" defined via - DECLARE_TRACE or DECLARE_HOOK -