X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=include%2Fhost-build.mk;h=0bd386781dfbd6d9144c59a12a7708d1e389ab42;hb=6cf067d084cc551c721e98b6d6c6403a63e521d5;hp=6c2f91581b895bda1ee9f2ee94afc2e5c06de380;hpb=c99f8815680fb4abf42cbb2e9d1a909f8f373b02;p=openwrt%2Fstaging%2Fyousong.git diff --git a/include/host-build.mk b/include/host-build.mk index 6c2f91581b..0bd386781d 100644 --- a/include/host-build.mk +++ b/include/host-build.mk @@ -168,13 +168,11 @@ ifndef DUMP touch $(HOST_STAMP_BUILT) touch $$@ + $(call DefaultTargets,$(patsubst %,host-%,$(DEFAULT_SUBDIR_TARGETS))) ifndef STAMP_BUILT - prepare: host-prepare - compile: host-compile - install: host-install - clean: host-clean - update: host-update - refresh: host-refresh + $(foreach t,$(DEFAULT_SUBDIR_TARGETS), + $(t): host-$(t) + ) endif host-prepare: $(HOST_STAMP_PREPARED) @@ -187,13 +185,6 @@ ifndef DUMP rm -rf $(HOST_BUILD_DIR) $(HOST_STAMP_INSTALLED) $(HOST_STAMP_BUILT) endef - - download: - prepare: - compile: - install: - clean: - endif define HostBuild