aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/Makefile
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
commit201d3661418da36ffe9e65e0002a98e8e072f8ea (patch)
treeef496017bc4b5c9e3cd60329748d719427dd13d6 /package/kernel/Makefile
parentc6eb15e481a066451adbad5137e017bb3f6c64de (diff)
downloadupstream-201d3661418da36ffe9e65e0002a98e8e072f8ea.tar.gz
upstream-201d3661418da36ffe9e65e0002a98e8e072f8ea.tar.bz2
upstream-201d3661418da36ffe9e65e0002a98e8e072f8ea.zip
minor cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6999 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/Makefile')
-rw-r--r--package/kernel/Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/package/kernel/Makefile b/package/kernel/Makefile
index e58b310259..8f98be384c 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