package/ktap: bear the kernel options munging

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Anders Darander <anders@chargestorm.se>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Yann E. MORIN 2020-04-04 14:10:24 +02:00 committed by Thomas Petazzoni
parent af43d0aa34
commit b18824ffcb
2 changed files with 7 additions and 5 deletions

View File

@ -355,11 +355,6 @@ define LINUX_KCONFIG_FIXUP_CMDS
$(call KCONFIG_ENABLE_OPT,CONFIG_INOTIFY_USER))
$(if $(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV),
$(call KCONFIG_ENABLE_OPT,CONFIG_NET))
$(if $(BR2_PACKAGE_KTAP),
$(call KCONFIG_ENABLE_OPT,CONFIG_DEBUG_FS)
$(call KCONFIG_ENABLE_OPT,CONFIG_ENABLE_DEFAULT_TRACERS)
$(call KCONFIG_ENABLE_OPT,CONFIG_PERF_EVENTS)
$(call KCONFIG_ENABLE_OPT,CONFIG_FUNCTION_TRACER))
$(if $(BR2_PACKAGE_LINUX_TOOLS_PERF),
$(call KCONFIG_ENABLE_OPT,CONFIG_PERF_EVENTS))
$(if $(BR2_PACKAGE_PCM_TOOLS),

View File

@ -25,5 +25,12 @@ endef
KTAP_MODULE_MAKE_OPTS = KVERSION=$(LINUX_VERSION_PROBED)
define KTAP_LINUX_CONFIG_FIXUPS
$(call KCONFIG_ENABLE_OPT,CONFIG_DEBUG_FS)
$(call KCONFIG_ENABLE_OPT,CONFIG_ENABLE_DEFAULT_TRACERS)
$(call KCONFIG_ENABLE_OPT,CONFIG_PERF_EVENTS)
$(call KCONFIG_ENABLE_OPT,CONFIG_FUNCTION_TRACER)
endef
$(eval $(kernel-module))
$(eval $(generic-package))