* 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(-)

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
-- 
1.9.1

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to