add 'make prepare' target for building the tools and toolchain

SVN-Revision: 8780
This commit is contained in:
Felix Fietkau 2007-09-15 08:53:23 +00:00
parent 72d4000d54
commit 53a1d55b34

View File

@ -50,10 +50,13 @@ dirclean: clean
# check prerequisites before starting to build # check prerequisites before starting to build
prereq: $(package/stamp-prereq) $(target/stamp-prereq) ; prereq: $(package/stamp-prereq) $(target/stamp-prereq) ;
world: .config $(tools/stamp-install) $(toolchain/stamp-install) $(target/stamp-compile) $(package/stamp-cleanup) $(package/stamp-compile) $(package/stamp-install) $(package/stamp-rootfs-prepare) $(target/stamp-install) FORCE prepare: .config $(tools/stamp-install) $(toolchain/stamp-install)
world: prepare $(target/stamp-compile) $(package/stamp-cleanup) $(package/stamp-compile) $(package/stamp-install) $(package/stamp-rootfs-prepare) $(target/stamp-install) FORCE
$(MAKE) package/index $(MAKE) package/index
package/symlinks: package/symlinks:
$(SCRIPT_DIR)/feeds.sh $(CONFIG_SOURCE_FEEDS) $(CONFIG_SOURCE_FEEDS_REV) $(SCRIPT_DIR)/feeds.sh $(CONFIG_SOURCE_FEEDS) $(CONFIG_SOURCE_FEEDS_REV)
.PHONY: clean dirclean prereq prepare world package/symlinks
endif endif