aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2020-06-26 11:49:47 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2020-06-26 11:49:47 +0000
commit3977e81a02c1598dbb5591f29c2aa67dc940a3a8 (patch)
treed046352f2330d661c3aafcd10302711fb949008b
parentcda9b7ef6d11c8d13021a3cef0805033cf4aea99 (diff)
Makefile: Use CROSS_COMPILE instead of CCPATH
It's a more standard name.
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 5898af9..5c22885 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,10 @@
COMP?=gcc
COMPBSP?=${COMP}
-CCPATH=${HOME}/src/Linaro/gcc-arm-none-eabi-9-2019-q4-major/bin
+CROSS_COMPILE=${HOME}/src/Linaro/gcc-arm-none-eabi-9-2019-q4-major/bin/arm-none-eabi-
-CC.gcc=${CCPATH}/arm-none-eabi-gcc
-AS.gcc=${CCPATH}/arm-none-eabi-gcc -c
+CC.gcc=${CROSS_COMPILE}gcc
+AS.gcc=${CROSS_COMPILE}gcc -c
CC=$(CC.$(COMP))
AS=$(AS.$(COMPBSP))