X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=target%2FMakefile;h=c00eea0d66fa838ff0eabd4edde47b3594aaa9f5;hb=e29da0f4237ccc08d0bf4ff3829f24f36ae8445f;hp=2c1861193129c2ea1022908ac39dc70d890814e1;hpb=02cdebbb91a33d8e24da1c94a9d93ac39be168a7;p=openwrt-10.03%2F.git diff --git a/target/Makefile b/target/Makefile index 2c1861193..c00eea0d6 100644 --- a/target/Makefile +++ b/target/Makefile @@ -17,15 +17,18 @@ TARGETS-$(CONFIG_SDK) += sdk linux-compile: utils-install linux-install: $(BIN_DIR) -sdk-compile: linux-install image_install: linux-install -download: $(patsubst %,%-source,$(TARGETS-y)) +download: $(patsubst %,%-download,$(TARGETS-y)) prepare: linux-prepare compile: linux-compile image_compile install: image_clean $(patsubst %,%-install,$(TARGETS-y)) image_install clean: $(patsubst %,%-clean,$(TARGETS-y)) image_clean +prereq: FORCE + $(MAKE) -C linux/$(BOARD)-$(KERNEL) prereq + $(MAKE) -C image/$(BOARD) prereq + image_clean: FORCE $(MAKE) -C image/$(BOARD) clean rm -f $(BIN_DIR)/openwrt-* @@ -38,8 +41,8 @@ image_install: image_compile %-clean: FORCE $(MAKE) -C $(patsubst %-clean,%,$@) clean -%-source: FORCE - $(MAKE) -C $(patsubst %-source,%,$@) source +%-download: FORCE + $(MAKE) -C $(patsubst %-download,%,$@) download %-prepare: FORCE $(MAKE) -C $(patsubst %-prepare,%,$@) prepare %-compile: %-prepare