summaryrefslogtreecommitdiff
path: root/openwrt/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-09-24 13:46:10 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-09-24 13:46:10 +0000
commit732b4932f1f3460e1c1026586981e06f698edba9 (patch)
treef0863b344e02529385c0f1467c60b122dcca5891 /openwrt/Makefile
parent45ddf1e2fda05876d2036daab79cd6608b7ef605 (diff)
downloadmtk-20170518-732b4932f1f3460e1c1026586981e06f698edba9.zip
mtk-20170518-732b4932f1f3460e1c1026586981e06f698edba9.tar.gz
mtk-20170518-732b4932f1f3460e1c1026586981e06f698edba9.tar.bz2
clean up and really fix bogus build_ directory
SVN-Revision: 4854
Diffstat (limited to 'openwrt/Makefile')
-rw-r--r--openwrt/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/openwrt/Makefile b/openwrt/Makefile
index 6df34ac..88d4ae5 100644
--- a/openwrt/Makefile
+++ b/openwrt/Makefile
@@ -91,12 +91,14 @@ toolchain/%: FORCE
.prereq-build: include/prereq-build.mk
@$(NO_TRACE_MAKE) -s -f $(TOPDIR)/include/prereq-build.mk prereq 2>/dev/null || { \
echo "Prerequisite check failed. Use FORCE=1 to override."; \
+ rm -rf $(TOPDIR)/tmp; \
false; \
}
+ @rm -rf $(TOPDIR)/tmp
@touch $@
.prereq-packages: include/prereq.mk .pkginfo .config
- @$(NO_TRACE_MAKE) -s -C package TMPDIR="$(TOPDIR)/tmp" prereq 2>/dev/null || { \
+ @$(NO_TRACE_MAKE) -s -C package prereq 2>/dev/null || { \
echo "Prerequisite check failed. Use FORCE=1 to override."; \
false; \
}