X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/83790f74ad846ab2a50c71fab34a2d7755df4a95..e5a6579b59a0a071a183113be6a7ca44a2268fc6:/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