don't run the image prereq check if the image directory does not exist

SVN-Revision: 7988
This commit is contained in:
Felix Fietkau 2007-07-16 00:42:19 +00:00
parent 60d6defb08
commit 5f9838d5f9

View file

@ -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