summaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-04-18 12:40:20 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-04-18 12:40:20 +0000
commit412c2b048f84147ebfa1c3ae533fd16b2ea8f978 (patch)
treeef496017bc4b5c9e3cd60329748d719427dd13d6 /package/kernel
parent83790f74ad846ab2a50c71fab34a2d7755df4a95 (diff)
minor cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6999 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/package/kernel/Makefile b/package/kernel/Makefile
index e58b31025..8f98be384 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