summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-29 23:52:35 +0000
committerlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-29 23:52:35 +0000
commit2edc1eaf4b6b2e58f9e0c7d95a7d79d35910c8b2 (patch)
treead37947d89ad9b7e8a26deb2c22bdc5ccd606f82 /include
parentfbdf4d4e510e1bfb4a75d0772e2fcca0301aa238 (diff)
Add menuconfig option for enabling profiling in the kernel.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14272 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/kernel-defaults.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk
index 4aa5c0ef1..e3897a64c 100644
--- a/include/kernel-defaults.mk
+++ b/include/kernel-defaults.mk
@@ -87,6 +87,7 @@ endef
define Kernel/Configure/Default
$(LINUX_CONFCMD) > $(LINUX_DIR)/.config.target
echo "$(if $(CONFIG_KERNEL_KALLSYMS),CONFIG_KALLSYMS=y,# CONFIG_KALLSYMS is not set)" >> $(LINUX_DIR)/.config.target
+ echo "$(if $(CONFIG_KERNEL_PROFILING),CONFIG_PROFILING=y,# CONFIG_PROFILING is not set)" >> $(LINUX_DIR)/.config.target
echo "# CONFIG_KALLSYMS_EXTRA_PASS is not set" >> $(LINUX_DIR)/.config.target
echo "# CONFIG_KPROBES is not set" >> $(LINUX_DIR)/.config.target
$(SCRIPT_DIR)/metadata.pl kconfig $(TMP_DIR)/.packageinfo $(TOPDIR)/.config > $(LINUX_DIR)/.config.override