X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/83790f74ad846ab2a50c71fab34a2d7755df4a95..8c5dc0c237dc43601a7cbfe6b8c6f2484f526d14:/package/kernel/Makefile 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