summaryrefslogtreecommitdiff
path: root/core/prefix.mak
diff options
context:
space:
mode:
authorruki <[email protected]>2019-07-28 20:09:51 +0800
committerruki <[email protected]>2019-07-28 20:10:39 +0800
commit1bb412afcd5d416bec002ea882b797499e60417c (patch)
tree6690846fdf737a4bfa93396820d498686852b8ef /core/prefix.mak
parent29552afd90275c4a1cafc58cd39463afafe830f8 (diff)
improve makefile
Diffstat (limited to 'core/prefix.mak')
-rw-r--r--core/prefix.mak3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/prefix.mak b/core/prefix.mak
index b7b9469c4..ce68486b9 100644
--- a/core/prefix.mak
+++ b/core/prefix.mak
@@ -3,6 +3,9 @@
# include project
include $(PRO_DIR)/project.mak
+# the temporary directory
+TMP_DIR :=$(if $(TMP_DIR),$(TMP_DIR),/tmp)
+
# the source directory
SRC_DIR = $(PRO_DIR)/src