X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/82a81707d83ea55c1ead149fbceee231e54bf998..8099d2ffb88de6876e5650b9c26f523f58256c48:/target/Makefile diff --git a/target/Makefile b/target/Makefile index a3b15b265..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