fix wan configuration on wr850g v2/v3
[openwrt.git] / package / kernel / Makefile
index a030ad7..3ec07d4 100644 (file)
@@ -14,6 +14,7 @@ PKG_VERSION:=$(LINUX_VERSION)-$(BOARD)
 PKG_RELEASE:=$(LINUX_RELEASE)
 
 PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/packages
 PKG_RELEASE:=$(LINUX_RELEASE)
 
 PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/packages
+SCAN_DEPS=modules/*.mk
 
 include $(INCLUDE_DIR)/package.mk
 ifeq ($(DUMP),)
 
 include $(INCLUDE_DIR)/package.mk
 ifeq ($(DUMP),)
@@ -46,13 +47,7 @@ define Package/kernel/install
   # nothing to do
 endef
 
   # nothing to do
 endef
 
-# this is more robust than ifdef around eval/call
-ifneq ($(DUMP),1)
-  define BuildKernel
-    $(call BuildPackage,kernel)
-  endef
-endif
-$(eval $(call BuildKernel))
+$(eval $(if $(DUMP),,$(call BuildPackage,kernel)))
 
 include $(TOPDIR)/target/linux/*/modules.mk
 include ./modules/*.mk
 
 include $(TOPDIR)/target/linux/*/modules.mk
 include ./modules/*.mk
This page took 0.02033 seconds and 4 git commands to generate.