[source] rules.mk: export TMPDIR

LEDE Commits lede-commits at lists.infradead.org
Thu Dec 14 09:45:43 PST 2017


jow pushed a commit to source.git, branch lede-17.01:
https://git.lede-project.org/b41d154f50cee50b27ba04db51481a4dd17e30d3

commit b41d154f50cee50b27ba04db51481a4dd17e30d3
Author: Jo-Philipp Wich <jo at mein.io>
AuthorDate: Tue Dec 12 16:28:04 2017 +0100

    rules.mk: export TMPDIR
    
    Set TMPDIR to the same value as the existing TMP_DIR variable in order to
    let gcc and various other utilities use the local temporary directory
    instead of the system-wide one.
    
    Signed-off-by: Jo-Philipp Wich <jo at mein.io>
    (cherry picked from commit 52a3477ff91a2009e451d5dce307e9cc945e9ffa)
---
 rules.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rules.mk b/rules.mk
index 743619e..5710a84 100644
--- a/rules.mk
+++ b/rules.mk
@@ -21,6 +21,7 @@ DUMP:=1
 endif
 
 export TMP_DIR:=$(TOPDIR)/tmp
+export TMPDIR:=$(TMP_DIR)
 
 qstrip=$(strip $(subst ",,$(1)))
 #"))



More information about the lede-commits mailing list