diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-08-15 23:33:37 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-08-15 23:33:37 +0000 |
commit | d2f7e3078e138b8d500dedc05b0b8caac1d5e26a (patch) | |
tree | f8cf8cb5a8d1ff3de97940618ade68ac010ff901 | |
parent | 51e0cac07a5c4b2886a1cf8c99ca0e1b5cbfa708 (diff) |
always include kernel config for kernel packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8415 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | include/kernel.mk | 3 | ||||
-rw-r--r-- | package/kernel/Makefile | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/kernel.mk b/include/kernel.mk index df859a42b..5b27d2f45 100644 --- a/include/kernel.mk +++ b/include/kernel.mk @@ -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:= diff --git a/package/kernel/Makefile b/package/kernel/Makefile index 3ec07d43a..b805c6e19 100644 --- a/package/kernel/Makefile +++ b/package/kernel/Makefile @@ -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 |