From 7cbdf20ed44eb6486137e3866e43eec39eb7a468 Mon Sep 17 00:00:00 2001 From: Hongmei Gou Date: Thu, 6 Sep 2018 12:45:06 -0400 Subject: [PATCH] ARM_User_Space_App: Makefile: remove ARM_CCT and use CC * CC is defined from Processor SDK Linux Signed-off-by: Hongmei Gou --- ARM_User_Space_App/Makefile | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/ARM_User_Space_App/Makefile b/ARM_User_Space_App/Makefile index 1ad4b2e..50ad7a8 100644 --- a/ARM_User_Space_App/Makefile +++ b/ARM_User_Space_App/Makefile @@ -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 -- 2.39.2