X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/1c0844a67af9a3991b537d34f11646a3f0a441ff..e3fc173c6bdf06e38d9b6c472c04a02dc8f3171e:/Makefile diff --git a/Makefile b/Makefile index 05a2c2b21..31042b2e0 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)