summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-01-29 15:51:00 +0000
committerJo-Philipp Wich <jow@openwrt.org>2015-01-29 15:51:00 +0000
commitb941d2fd65e13e5f0cba817a413f8e86a548dc0f (patch)
treea7c5a1bfb5103237bca5600e1b4b93dc073ffcb5
parentf0293eae4f7bf23bedeca56211ae6f99e9acd585 (diff)
downloadmaster-31e0f0ae-b941d2fd65e13e5f0cba817a413f8e86a548dc0f.tar.gz
master-31e0f0ae-b941d2fd65e13e5f0cba817a413f8e86a548dc0f.tar.bz2
master-31e0f0ae-b941d2fd65e13e5f0cba817a413f8e86a548dc0f.zip
include: pass kernel version when generating kconfig overrides
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44189
-rw-r--r--include/kernel-defaults.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk
index d6c8924623..9f4e2cd9ad 100644
--- a/include/kernel-defaults.mk
+++ b/include/kernel-defaults.mk
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2006-2011 OpenWrt.org
+# Copyright (C) 2006-2015 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -108,7 +108,7 @@ define Kernel/Configure/Default
echo "# CONFIG_KALLSYMS_ALL is not set" >> $(LINUX_DIR)/.config.target
echo "# CONFIG_KALLSYMS_UNCOMPRESSED 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
+ $(SCRIPT_DIR)/metadata.pl kconfig $(TMP_DIR)/.packageinfo $(TOPDIR)/.config $(KERNEL_PATCHVER) > $(LINUX_DIR)/.config.override
$(SCRIPT_DIR)/kconfig.pl 'm+' '+' $(LINUX_DIR)/.config.target /dev/null $(LINUX_DIR)/.config.override > $(LINUX_DIR)/.config
$(call Kernel/SetNoInitramfs)
rm -rf $(KERNEL_BUILD_DIR)/modules