add 'make prepare' target for building the tools and toolchain
authorFelix Fietkau <nbd@openwrt.org>
Sat, 15 Sep 2007 08:53:23 +0000 (08:53 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 15 Sep 2007 08:53:23 +0000 (08:53 +0000)
SVN-Revision: 8780

Makefile

index 48a138db15e05a6b724d0162b42623d2fd18bdca..dcd5bae72ef88708ce59690c8fdb8365d0f1080f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -50,10 +50,13 @@ dirclean: clean
 # check prerequisites before starting to build
 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
 
 package/symlinks:
        $(SCRIPT_DIR)/feeds.sh $(CONFIG_SOURCE_FEEDS) $(CONFIG_SOURCE_FEEDS_REV)        
 
+.PHONY: clean dirclean prereq prepare world package/symlinks
+
 endif