Merged from master, added a15 support for k2l, c66ak2e
[keystone-rtos/edma3_lld.git] / makerules / rules_GCC_a15.mk
index 6f1ad22f166c98bc66564c804d40b4ce75cce5a7..387bca2ad9098e416f9cafcbdf81f0dc8535e5d6 100755 (executable)
@@ -9,9 +9,13 @@
 #     3. a rule common for A15 ISA has to be added or modified\r
 \r
 # Set compiler/archiver/linker commands and include paths\r
-CC ?= $(CODEGEN_PATH_A15_GCC)/bin/arm-linux-gnueabihf-gcc\r
-AR ?= $(CODEGEN_PATH_A15_GCC)/bin/arm-linux-gnueabihf-ar\r
-LNK ?= $(CODEGEN_PATH_A15_GCC)/bin/arm-linux-gnueabihf-gcc\r
+CROSSCC ?= $(CODEGEN_PATH_A15_GCC)/bin/arm-linux-gnueabihf-gcc\r
+CROSSAR ?= $(CODEGEN_PATH_A15_GCC)/bin/arm-linux-gnueabihf-ar\r
+CROSSLNK ?= $(CODEGEN_PATH_A15_GCC)/bin/arm-linux-gnueabihf-gcc\r
+\r
+CC = $(CROSSCC)\r
+AR = $(CROSSAR)\r
+LNK = $(CROSSLNK)\r
 \r
 CFLAGS_INTERNAL = -Wall -Wunknown-pragmas -c -mcpu=cortex-a15 -g -mfpu=neon -mfloat-abi=hard -mabi=aapcs -mapcs-frame  -Wswitch -fno-short-enums\r
 \r