summaryrefslogtreecommitdiffstats
path: root/linux
diff options
context:
space:
mode:
authorAnders Darander <anders@chargestorm.se>2013-12-16 11:53:20 +0100
committerPeter Korsgaard <peter@korsgaard.com>2013-12-16 22:09:40 +0100
commitaaef2cad852377f8ed9ac5cc3282c9741f81c7d4 (patch)
tree1cae375d9f9f63c2cc8c2ff66b7bfdc92b03b9ae /linux
parent3c2107bb6c6ab988e2f7ce461679fae78e6d0fd9 (diff)
linux.mk: enable options for ktap
Certain tracing related options are required to be able to build ktapvm.ko, enable those. Enable CONFIG_FUNTCTION_TRACER as otherwise, CONFIG_EVENT_TRACING won't stick. (Some tracer needs to be enabled for this). [Peter: add a note to ktap Config.in explaining this is done] Signed-off-by: Anders Darander <anders@chargestorm.se> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'linux')
-rw-r--r--linux/linux.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux/linux.mk b/linux/linux.mk
index 33931e53f..5af167ddc 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),