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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8780 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2007-09-15 08:53:23 +00:00
parent d0099a96ae
commit 56d8c10f57
1 changed files with 4 additions and 1 deletions

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