X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/597d9811aee6be6ebfd7114ad287806ea659d379..a0e087f6dc48446a8ee37ec78c04377aea1ddf9e:/target/Makefile diff --git a/target/Makefile b/target/Makefile index 438d268b5..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,5 +51,5 @@ image_install: image_compile imagebuilder_install: image_install $(MAKE) -C imagebuilder install -%-prereq %-prepare %-download %-clean %-compile %-install %-refresh: FORCE +%-prereq %-prepare %-download %-clean %-compile %-install %-refresh %-update: FORCE $(MAKE) -C $* $(patsubst $*-%,%,$@)