summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/kernel.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/kernel.mk b/include/kernel.mk
index 28567776a..39be10a57 100644
--- a/include/kernel.mk
+++ b/include/kernel.mk
@@ -94,6 +94,12 @@ ifeq ($(DUMP)$(TARGET_BUILD),)
-include $(LINUX_DIR)/.config
endif
+define KernelPackage/depends
+ $(STAMP_BUILT): $(LINUX_DIR)/.config
+ define KernelPackage/depends
+ endef
+endef
+
define KernelPackage
NAME:=$(1)
$(eval $(call Package/Default))
@@ -126,7 +132,7 @@ $(call KernelPackage/$(1)/config)
endef
endif
- $(STAMP_BUILT): $(LINUX_DIR)/.config
+ $(call KernelPackage/depends)
ifneq ($(if $(filter-out %=y %=n %=m,$(KCONFIG)),$(filter m,$(foreach c,$(filter-out %=y %=n %=m,$(KCONFIG)),$($(c)))),.),)
ifneq ($(strip $(FILES)),)