From: nbd Date: Mon, 16 Jul 2007 00:42:19 +0000 (+0000) Subject: don't run the image prereq check if the image directory does not exist X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=5939d9131d7770b8545e4e9d9f15d94637bfd0ee;p=10.03%2Fopenwrt.git don't run the image prereq check if the image directory does not exist git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7988 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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