diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-07-16 00:42:19 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-07-16 00:42:19 +0000 |
commit | 4ed6cbf000a5659e4e910f615f0358be23b5b735 (patch) | |
tree | 9122cb444ffd5c2899bffcf3c7a20732a1656476 | |
parent | 50e30099a68568f55b7915594418bb1f5bf3e5fa (diff) | |
download | master-187ad058-4ed6cbf000a5659e4e910f615f0358be23b5b735.tar.gz master-187ad058-4ed6cbf000a5659e4e910f615f0358be23b5b735.tar.bz2 master-187ad058-4ed6cbf000a5659e4e910f615f0358be23b5b735.zip |
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
-rw-r--r-- | target/Makefile | 2 |
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 |