summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2015-06-18 12:01:30 +0200
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2015-06-18 16:18:10 +0200
commitbe8a72488eef5315cb111aa5e518b2ecb58274b7 (patch)
treeef85ff2382cfe0f93197a31dca66899818332084
parent57b35037d4317ef9925f60e0b5a53323e319824a (diff)
Makefile: fix TEXTILE immediate assignment
From GNU make manual: "For the append operator, ‘+=’, the right-hand side is considered immediate if the variable was previously set as a simple variable (‘:=’ or ‘::=’), and deferred otherwise." So we need to initialize TEXTILE:= otherwise further += are deferred in submakefiles and DIR value is not correct. that's useful when there is more than 1 file to process.. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5be9d9a..9384377 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,5 @@
+# required so that further += assignment are immediate, not defered...
+TEXTILE:=
include ubuntu/boards/snapdragon/Makefile
include vars.mk