summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-04-18 12:40:20 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-04-18 12:40:20 +0000
commit38515a7f8149704dd5903e35c568af8121a27e1e (patch)
tree857fa67586840b69531beca056d2082d0cb9a6d1
parent4c6c987f09c6973bb49aa452aca8332f6e620d12 (diff)
downloadmtk-20170518-38515a7f8149704dd5903e35c568af8121a27e1e.zip
mtk-20170518-38515a7f8149704dd5903e35c568af8121a27e1e.tar.gz
mtk-20170518-38515a7f8149704dd5903e35c568af8121a27e1e.tar.bz2
minor cleanup
SVN-Revision: 6999
-rw-r--r--package/kernel/Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/package/kernel/Makefile b/package/kernel/Makefile
index e58b310..8f98be3 100644
--- a/package/kernel/Makefile
+++ b/package/kernel/Makefile
@@ -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