summaryrefslogtreecommitdiff
path: root/package/kernel/Makefile
diff options
context:
space:
mode:
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 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