X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/02059e7283fa828bb98a52754ec6d9019e858bf0..52b2255fef70fe27f559173160bc6c72690e0025:/target/Makefile diff --git a/target/Makefile b/target/Makefile index 1b6cbb54e..4885ab98d 100644 --- a/target/Makefile +++ b/target/Makefile @@ -33,7 +33,7 @@ clean: linux-clean sdk-clean imagebuilder-clean image_clean prereq: FORCE $(MAKE) -C linux/$(BOARD)-$(KERNEL) prereq - $(MAKE) -C $(IMAGE_DIR) prereq + [ \! -f $(IMAGE_DIR)/Makefile ] || $(MAKE) -C $(IMAGE_DIR) prereq sdk_install: FORCE $(MAKE) -C sdk install @@ -51,4 +51,5 @@ image_install: image_compile imagebuilder_install: image_install $(MAKE) -C imagebuilder install -$(eval $(call default_subtargets,)) +%-prereq %-prepare %-download %-clean %-compile %-install %-refresh %-update: FORCE + $(MAKE) -C $* $(patsubst $*-%,%,$@)