always include kernel config for kernel packages
authorFelix Fietkau <nbd@openwrt.org>
Wed, 15 Aug 2007 23:33:37 +0000 (23:33 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 15 Aug 2007 23:33:37 +0000 (23:33 +0000)
SVN-Revision: 8415

include/kernel.mk
package/kernel/Makefile

index df859a4..5b27d2f 100644 (file)
@@ -51,6 +51,9 @@ endif
 GENERIC_PLATFORM_DIR := $(TOPDIR)/target/linux/generic-$(KERNEL)
 GENERIC_PATCH_DIR := $(GENERIC_PLATFORM_DIR)/patches$(shell [ -d "$(GENERIC_PLATFORM_DIR)/patches-$(KERNEL_PATCHVER)" ] && printf -- "-$(KERNEL_PATCHVER)" || true )
 
+ifeq ($(DUMP),)
+  -include $(LINUX_DIR)/.config
+endif
 
 define KernelPackage/Defaults
   FILES:=
index 3ec07d4..b805c6e 100644 (file)
@@ -18,7 +18,6 @@ SCAN_DEPS=modules/*.mk
 
 include $(INCLUDE_DIR)/package.mk
 ifeq ($(DUMP),)
-  -include $(LINUX_DIR)/.config
   NF_KMOD:=1
   include $(INCLUDE_DIR)/netfilter.mk
 endif