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

SVN-Revision: 7988
lede-17.01
Felix Fietkau 2007-07-16 00:42:19 +00:00
parent 60d6defb08
commit 5f9838d5f9
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ clean: linux-clean sdk-clean imagebuilder-clean image_clean
prereq: FORCE prereq: FORCE
$(MAKE) -C linux/$(BOARD)-$(KERNEL) prereq $(MAKE) -C linux/$(BOARD)-$(KERNEL) prereq
$(MAKE) -C $(IMAGE_DIR) prereq [ \! -f $(IMAGE_DIR)/Makefile ] || $(MAKE) -C $(IMAGE_DIR) prereq
sdk_install: FORCE sdk_install: FORCE
$(MAKE) -C sdk install $(MAKE) -C sdk install