[adm5120] reorder rootfstypes to allow both squashfs and jffs2 images to boot
[openwrt.git] / target / Makefile
index a3b15b2..4885ab9 100644 (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
This page took 0.021091 seconds and 4 git commands to generate.