always include kernel config for kernel packages

SVN-Revision: 8415
This commit is contained in:
Felix Fietkau 2007-08-15 23:33:37 +00:00
parent 29720c439c
commit c2d5c1c0c2
2 changed files with 3 additions and 1 deletions

View File

@ -51,6 +51,9 @@ endif
GENERIC_PLATFORM_DIR := $(TOPDIR)/target/linux/generic-$(KERNEL) 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 ) 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 define KernelPackage/Defaults
FILES:= FILES:=

View File

@ -18,7 +18,6 @@ SCAN_DEPS=modules/*.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
ifeq ($(DUMP),) ifeq ($(DUMP),)
-include $(LINUX_DIR)/.config
NF_KMOD:=1 NF_KMOD:=1
include $(INCLUDE_DIR)/netfilter.mk include $(INCLUDE_DIR)/netfilter.mk
endif endif