diff options
-rw-r--r-- | package/kernel/Makefile | 8 |
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 |