* [apps-tida01555] [PATCH] ARM_User_Space_App: Makefile: remove ARM_CCT and use CC
@ 2018-09-06 16:50 Hongmei Gou
2018-09-06 16:51 ` Denys Dmytriyenko
0 siblings, 1 reply; 2+ messages in thread
From: Hongmei Gou @ 2018-09-06 16:50 UTC (permalink / raw)
To: meta-arago; +Cc: Hongmei Gou
* CC is defined from Processor SDK Linux
Signed-off-by: Hongmei Gou <a0271529@ti.com>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [apps-tida01555] [PATCH] ARM_User_Space_App: Makefile: remove ARM_CCT and use CC
2018-09-06 16:50 [apps-tida01555] [PATCH] ARM_User_Space_App: Makefile: remove ARM_CCT and use CC Hongmei Gou
@ 2018-09-06 16:51 ` Denys Dmytriyenko
0 siblings, 0 replies; 2+ messages in thread
From: Denys Dmytriyenko @ 2018-09-06 16:51 UTC (permalink / raw)
To: Hongmei Gou; +Cc: meta-arago
What's apps-tida01555 and does it have to be posted to meta-arago?
On Thu, Sep 06, 2018 at 12:50:07PM -0400, Hongmei Gou wrote:
> * CC is defined from Processor SDK Linux
>
> Signed-off-by: Hongmei Gou <a0271529@ti.com>
> ---
> 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
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-09-06 16:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-06 16:50 [apps-tida01555] [PATCH] ARM_User_Space_App: Makefile: remove ARM_CCT and use CC Hongmei Gou
2018-09-06 16:51 ` Denys Dmytriyenko
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.