Fix wget2nand with the host's patch-cmdline and the new kernel filename
[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.020975 seconds and 4 git commands to generate.