summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/kernel.mk3
-rw-r--r--package/kernel/Makefile1
2 files changed, 1 insertions, 3 deletions
diff --git a/include/kernel.mk b/include/kernel.mk
index 5b27d2f..df859a4 100644
--- a/include/kernel.mk
+++ b/include/kernel.mk
@@ -51,9 +51,6 @@ 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:=
diff --git a/package/kernel/Makefile b/package/kernel/Makefile
index b805c6e..3ec07d4 100644
--- a/package/kernel/Makefile
+++ b/package/kernel/Makefile
@@ -18,6 +18,7 @@ SCAN_DEPS=modules/*.mk
include $(INCLUDE_DIR)/package.mk
ifeq ($(DUMP),)
+ -include $(LINUX_DIR)/.config
NF_KMOD:=1
include $(INCLUDE_DIR)/netfilter.mk
endif