X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=Makefile;h=dcd5bae72ef88708ce59690c8fdb8365d0f1080f;hb=a320eec777ec87541b7c4982d482fd153c4a66e2;hp=a5e03d1cb3c48fc09ecc3ff3b43da4bf345f5fb9;hpb=5f748a6c24863b08652d835c2858acfd83a84238;p=openwrt%2Fstaging%2Fflorian.git diff --git a/Makefile b/Makefile index a5e03d1cb3..dcd5bae72e 100644 --- a/Makefile +++ b/Makefile @@ -45,15 +45,18 @@ clean: FORCE rm -rf $(TMP_DIR) dirclean: clean - rm -rf $(STAGING_DIR) $(STAGING_DIR_HOST) $(STAGING_DIR_TOOLCHAIN) $(BUILD_DIR_TOOLCHAIN) $(BUILD_DIR_HOST) + rm -rf $(STAGING_DIR) $(STAGING_DIR_HOST) $(STAGING_DIR_TOOLCHAIN) $(TOOLCHAIN_DIR) $(BUILD_DIR_HOST) # 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