diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-08-15 23:33:37 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-08-15 23:33:37 +0000 |
commit | c2d5c1c0c2b7325ca77436ad8c2e91d19f6bd845 (patch) | |
tree | fcda516fd5d561d71a7175cc7cac072eb37a9207 | |
parent | 29720c439c237f7c2a98d12507ef273addcc08a0 (diff) | |
download | mtk-20170518-c2d5c1c0c2b7325ca77436ad8c2e91d19f6bd845.zip mtk-20170518-c2d5c1c0c2b7325ca77436ad8c2e91d19f6bd845.tar.gz mtk-20170518-c2d5c1c0c2b7325ca77436ad8c2e91d19f6bd845.tar.bz2 |
always include kernel config for kernel packages
SVN-Revision: 8415
-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 df859a4..5b27d2f 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 3ec07d4..b805c6e 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 |