always include kernel config for kernel packages
[openwrt/openwrt.git] / include / kernel.mk
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:=