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