summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--linux/linux.mk5
-rw-r--r--package/ktap/Config.in2
2 files changed, 7 insertions, 0 deletions
diff --git a/linux/linux.mk b/linux/linux.mk
index 33931e53fc..5af167ddca 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -184,6 +184,11 @@ define LINUX_CONFIGURE_CMDS
$(call KCONFIG_ENABLE_OPT,CONFIG_DEVTMPFS_MOUNT,$(@D)/.config))
$(if $(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV),
$(call KCONFIG_SET_OPT,CONFIG_UEVENT_HELPER_PATH,\"/sbin/mdev\",$(@D)/.config))
+ $(if $(BR2_PACKAGE_KTAP),
+ $(call KCONFIG_ENABLE_OPT,CONFIG_DEBUG_FS,$(@D)/.config)
+ $(call KCONFIG_ENABLE_OPT,CONFIG_EVENT_TRACING,$(@D)/.config)
+ $(call KCONFIG_ENABLE_OPT,CONFIG_PERF_EVENTS,$(@D)/.config)
+ $(call KCONFIG_ENABLE_OPT,CONFIG_FUNCTION_TRACER,$(@D)/.config))
$(if $(BR2_PACKAGE_SYSTEMD),
$(call KCONFIG_ENABLE_OPT,CONFIG_CGROUPS,$(@D)/.config))
$(if $(BR2_LINUX_KERNEL_APPENDED_DTB),
diff --git a/package/ktap/Config.in b/package/ktap/Config.in
index ba6b42b1bf..7f40ce2c6b 100644
--- a/package/ktap/Config.in
+++ b/package/ktap/Config.in
@@ -16,6 +16,8 @@ config BR2_PACKAGE_KTAP
Your kernel must have CONFIG_EVENT_TRACING,
CONFIG_PERF_EVENTS, and CONFIG_DEBUG_FS enabled to compile.
+ Buildroot automatically enables these in the kernel configuration.
+
http://www.ktap.org
comment "ktap needs a Linux kernel to be built"
OpenPOWER on IntegriCloud