X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=Makefile;h=31042b2e09cf267ba65d24e44acd641ea821ea81;hp=4bdc4651e82682a8846c144e0356fbe0b40ad306;hb=acd054f18d0935156480a8884f3efe5434954e17;hpb=71e8b3c4f7169c75d86ead18b381f2a83fd8f22d diff --git a/Makefile b/Makefile index 4bdc4651e8..31042b2e09 100644 --- a/Makefile +++ b/Makefile @@ -24,6 +24,8 @@ ifneq ($(OPENWRT_BUILD),1) override OPENWRT_BUILD=1 export OPENWRT_BUILD + GREP_OPTIONS= + export GREP_OPTIONS include $(TOPDIR)/include/debug.mk include $(TOPDIR)/include/depends.mk include $(TOPDIR)/include/toplevel.mk @@ -48,9 +50,11 @@ $(BUILD_DIR)/.prepared: Makefile @mkdir -p $$(dirname $@) @touch $@ +prepare: $(target/stamp-compile) + clean: FORCE - rm -rf $(BUILD_DIR) $(BIN_DIR) $(_SINGLE)$(SUBMAKE) target/linux/clean + rm -rf $(BUILD_DIR) $(BIN_DIR) $(BUILD_LOG_DIR) dirclean: clean rm -rf $(STAGING_DIR) $(STAGING_DIR_HOST) $(STAGING_DIR_TOOLCHAIN) $(TOOLCHAIN_DIR) $(BUILD_DIR_HOST) $(BUILD_DIR_TOOLCHAIN) @@ -72,7 +76,7 @@ prereq: $(target/stamp-prereq) tmp/.prereq_packages 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 - $(_SINGLE)$(SUBMAKE) package/index + $(_SINGLE)$(SUBMAKE) -r package/index # update all feeds, re-create index files, install symlinks package/symlinks: