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 e58b310..8f98be3 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