X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/7a1a2ed509f01fd1310d233be8ed4c4c93d49d83..8099d2ffb88de6876e5650b9c26f523f58256c48:/target/Makefile diff --git a/target/Makefile b/target/Makefile index 9a7dff2a7..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: FORCE +%-prereq %-prepare %-download %-clean %-compile %-install %-refresh %-update: FORCE $(MAKE) -C $* $(patsubst $*-%,%,$@)