Support meta-ti 2019.04 release
[AGL/meta-agl.git] / meta-agl-bsp / meta-ti / recipes-bsp / ti-sgx-ddk-km / ti-sgx-ddk-km / 0001-Add-support-for-AGL-toolchain.patch
1 From 11131a5e778d19c06eefbcf61447c6efbcee0613 Mon Sep 17 00:00:00 2001
2 From: Paul Barker <paul.barker@sancloud.co.uk>
3 Date: Mon, 18 Nov 2019 08:47:41 +0000
4 Subject: [PATCH] Add support for AGL toolchain
5
6 We can use the pre-existing config for arm-linux-gnueabihf, we just need
7 to make sure our toolchain is matched against this and not
8 arm-linux-gnueabi.
9
10 Signed-off-by: Paul Barker <paul.barker@sancloud.co.uk>
11 ---
12  eurasia_km/eurasiacon/build/linux2/config/compiler.mk | 2 +-
13  1 file changed, 1 insertion(+), 1 deletion(-)
14
15 diff --git a/eurasia_km/eurasiacon/build/linux2/config/compiler.mk b/eurasia_km/eurasiacon/build/linux2/config/compiler.mk
16 index 2ba3e5e..03e86c5 100644
17 --- a/eurasia_km/eurasiacon/build/linux2/config/compiler.mk
18 +++ b/eurasia_km/eurasiacon/build/linux2/config/compiler.mk
19 @@ -68,7 +68,7 @@ define calculate-compiler-preferred-target
20    ifneq ($$(filter aarch64-%,$$($(1)_compiler_preferred_target)),)
21     $(1)_compiler_preferred_target := aarch64-linux-gnu
22    endif
23 -  ifneq ($$(filter arm-%-gnueabihf arm-oe-linux-gnueabi,$$($(1)_compiler_preferred_target)),)
24 +  ifneq ($$(filter arm-%-gnueabihf arm-oe-linux-gnueabi arm-agl-linux-gnueabi,$$($(1)_compiler_preferred_target)),)
25     $(1)_compiler_preferred_target := arm-linux-gnueabihf
26    endif
27    ifneq ($$(filter arm-%-gnueabi armv7a-cros-linux-gnueabi armv7hl-redhat-linux-gnueabi,$$($(1)_compiler_preferred_target)),)
28 -- 
29 2.17.1
30