X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c6753b594214c24fa26458539a74e82aa75e053e..6c87a8b8776b202a6c6eb913b8dbea80654e30dc:/Makefile diff --git a/Makefile b/Makefile index 5b90c482f..fe10e07dd 100644 --- a/Makefile +++ b/Makefile @@ -96,10 +96,11 @@ toolchain/%: FORCE @touch $@ .prereq-packages: include/prereq.mk .pkginfo .config - @$(NO_TRACE_MAKE) -s -C package prereq 2>/dev/null || { \ + @$(NO_TRACE_MAKE) -s -C package TMPDIR="$(TOPDIR)/tmp" prereq 2>/dev/null || { \ echo "Prerequisite check failed. Use FORCE=1 to override."; \ false; \ } + @rm -rf "$(TOPDIR)/tmp" @touch $@ prereq: .prereq-build .prereq-packages FORCE