minor cleanup
authorFelix Fietkau <nbd@openwrt.org>
Wed, 18 Apr 2007 12:40:20 +0000 (12:40 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 18 Apr 2007 12:40:20 +0000 (12:40 +0000)
SVN-Revision: 6999

package/kernel/Makefile

index e58b310259cbc8daf1f41a9ee27086ce4a232745..8f98be384cfbd1bd6f1ab62be55ed88a7e2f4075 100644 (file)
@@ -49,13 +49,7 @@ define Package/kernel/install
   # 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