-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))
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)),)