Add wget2nand, this should allow netboot installation directly to nand
[openwrt.git] / target / Makefile
index 1b6cbb5..4885ab9 100644 (file)
@@ -33,7 +33,7 @@ clean: linux-clean sdk-clean imagebuilder-clean image_clean
 
 prereq: FORCE
        $(MAKE) -C linux/$(BOARD)-$(KERNEL) prereq
 
 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
 
 sdk_install: FORCE
        $(MAKE) -C sdk install
@@ -51,4 +51,5 @@ image_install: image_compile
 imagebuilder_install: image_install
        $(MAKE) -C imagebuilder install
 
 imagebuilder_install: image_install
        $(MAKE) -C imagebuilder install
 
-$(eval $(call default_subtargets,))
+%-prereq %-prepare %-download %-clean %-compile %-install %-refresh %-update: FORCE
+       $(MAKE) -C $* $(patsubst $*-%,%,$@)
This page took 0.024983 seconds and 4 git commands to generate.