summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-12-04 03:04:37 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-12-04 03:04:37 +0000
commitedc74f8cc3f810b03a39b5f98bd0c3908d5c9303 (patch)
tree21335f91bd5ab560bea2516cf24fea09f480cea1 /Makefile
parentb217ebd0e6f6e9a85f5e2980b43e2f05a9a8ebfd (diff)
downloadmtk-20170518-edc74f8cc3f810b03a39b5f98bd0c3908d5c9303.zip
mtk-20170518-edc74f8cc3f810b03a39b5f98bd0c3908d5c9303.tar.gz
mtk-20170518-edc74f8cc3f810b03a39b5f98bd0c3908d5c9303.tar.bz2
fix make clean for unconfigured build trees
SVN-Revision: 9655
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e56535e..970b089 100644
--- a/Makefile
+++ b/Makefile
@@ -45,10 +45,10 @@ $(BUILD_DIR)/.prepared: Makefile
clean: FORCE
rm -rf $(BUILD_DIR) $(BIN_DIR)
$(MAKE) target/linux/clean
- rm -rf $(TMP_DIR)
dirclean: clean
rm -rf $(STAGING_DIR) $(STAGING_DIR_HOST) $(STAGING_DIR_TOOLCHAIN) $(TOOLCHAIN_DIR) $(BUILD_DIR_HOST)
+ rm -rf $(TMP_DIR)
# check prerequisites before starting to build
prereq: $(package/stamp-prereq) $(target/stamp-prereq) ;