ARM_User_Space_App: Makefile: remove ARM_CCT and use CC
PATCH 1/1 ARM_User_Space_App: Makefile: remove ARM_CCT and use CC
* CC is defined from Processor SDK Linux
Signed-off-by Hongmei Gou <[email protected]>
--- ARM_User_Space_App/Makefile | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-)
ARM_User_Space_App/Makefile +1 -18
@@ -1,20 +1,3 @@ -# ARM_CCT environment variable must point to the ARM cross-compile toolchain. E.g.: -#(Desktop Linux) export ARM_CCT=$(HOME)/ti-processor-sdk-linux-rt-amxxx-evm-ww.xx.yy.zz/ -#linux-devkit/sysroots/x86_64-arago-linux/usr/bin - -ifndef ARM_CCT -define ERROR_BODY - -******************************************************************************* -ARM_CCT environment variable is not set. Examples given: -(Desktop Linux) export ARM_CCT=$(HOME)/ti-processor-sdk-linux-rt-amxxx-evm-ww.xx.yy.zz/ -linux-devkit/sysroots/x86_64-arago-linux/usr/bin -******************************************************************************* - -endef -$(error $(ERROR_BODY)) -endif - MKFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST))) CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH)))) PROJ_NAME=$(CURRENT_DIR)
@@ -47,7 +30,7 @@ $(TARGET): @echo '' @echo 'Building target: $@' @echo 'Invoking: ARM x86 Cross Compiler' - $(ARM_CCT)/arm-linux-gnueabihf-gcc -Wall $(SOURCES) $(CFLAGS) -o $(TARGET) -lncurses -lpthread + $(CC) -Wall $(SOURCES) $(CFLAGS) -o $(TARGET) -lncurses -lpthread @echo 'Finished building target: $@' .PHONY: all clean
Signature · 1 line
1.9.1
What's apps-tida01555 and does it have to be posted to meta-arago?
Quoted 48 lines · Hongmei Gou
* CC is defined from Processor SDK Linux
Signed-off-by Hongmei Gou <[email protected]>--- ARM_User_Space_App/Makefile | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-)ARM_User_Space_App/Makefile +1
-18@@ -1,20 +1,3 @@ -# ARM_CCT environment variable must point to the ARM cross-compile toolchain. E.g.: -#(Desktop Linux) export ARM_CCT=$(HOME)/ti-processor-sdk-linux-rt-amxxx-evm-ww.xx.yy.zz/ -#linux-devkit/sysroots/x86_64-arago-linux/usr/bin - -ifndef ARM_CCT -define ERROR_BODY - -******************************************************************************* -ARM_CCT environment variable is not set. Examples given: -(Desktop Linux) export ARM_CCT=$(HOME)/ti-processor-sdk-linux-rt-amxxx-evm-ww.xx.yy.zz/ -linux-devkit/sysroots/x86_64-arago-linux/usr/bin -******************************************************************************* - -endef -$(error $(ERROR_BODY)) -endif - MKFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST))) CURRENT_DIR := $(notdir $(patsubst %/,%,$(dir $(MKFILE_PATH)))) PROJ_NAME=$(CURRENT_DIR)@@ -47,7 +30,7 @@ $(TARGET): @echo '' @echo 'Building target: $@' @echo 'Invoking: ARM x86 Cross Compiler' - $(ARM_CCT)/arm-linux-gnueabihf-gcc -Wall $(SOURCES) $(CFLAGS) -o $(TARGET) -lncurses -lpthread + $(CC) -Wall $(SOURCES) $(CFLAGS) -o $(TARGET) -lncurses -lpthread @echo 'Finished building target: $@' .PHONY: all cleanSignature · 6 lines
1.9.1 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago