aboutsummaryrefslogtreecommitdiffstats
path: root/target/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-07-16 00:42:19 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-07-16 00:42:19 +0000
commit5f9838d5f9602dd4dfef9baaeb3912c5121f9acc (patch)
tree31067ccdcf0f790404279d6e75bcb58d89dcda1d /target/Makefile
parent60d6defb08500cbede2d66f52a584e5016c47fd5 (diff)
downloadupstream-5f9838d5f9602dd4dfef9baaeb3912c5121f9acc.tar.gz
upstream-5f9838d5f9602dd4dfef9baaeb3912c5121f9acc.tar.bz2
upstream-5f9838d5f9602dd4dfef9baaeb3912c5121f9acc.zip
don't run the image prereq check if the image directory does not exist
SVN-Revision: 7988
Diffstat (limited to 'target/Makefile')
-rw-r--r--target/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/Makefile b/target/Makefile
index a3b15b2659..4885ab98d3 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