X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=Makefile;h=31042b2e09cf267ba65d24e44acd641ea821ea81;hp=05a2c2b21b066672762e188d2bced5ac8579945b;hb=d5de72f042ae582522a69355d189ce90f5958f1d;hpb=882190b198fcbeed01244d18e19c352337621206 diff --git a/Makefile b/Makefile index 05a2c2b21b..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)