meta-agl-bsp: Update i.MX8MQ EVK support for kirkstone
[AGL/meta-agl.git] / meta-agl-bsp / meta-ti-bsp / recipes-bsp / ti-sgx-ddk-km / ti-sgx-ddk-km / 0001-Add-support-for-AGL-toolchain.patch
1 From 630046ad76e14d28bd6b0728632e4f43b0916c22 Mon Sep 17 00:00:00 2001
2 From: Paul Barker <paul.barker@sancloud.com>
3 Date: Tue, 30 Nov 2021 16:48:58 +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.com>
11 [Updated for 1.17.4948957/k5.10]
12 Signed-off-by: Scott Murray <scott.murrary@konsulko.com>
13 ---
14  eurasia_km/eurasiacon/build/linux2/config/compiler.mk | 2 +-
15  1 file changed, 1 insertion(+), 1 deletion(-)
16
17 diff --git a/eurasia_km/eurasiacon/build/linux2/config/compiler.mk b/eurasia_km/eurasiacon/build/linux2/config/compiler.mk
18 index 1b5f090..6719dc2 100644
19 --- a/eurasia_km/eurasiacon/build/linux2/config/compiler.mk
20 +++ b/eurasia_km/eurasiacon/build/linux2/config/compiler.mk
21 @@ -68,7 +68,7 @@ define calculate-compiler-preferred-target
22    ifneq ($$(filter aarch64-%,$$($(1)_compiler_preferred_target)),)
23     $(1)_compiler_preferred_target := aarch64-linux-gnu
24    endif
25 -  ifneq ($$(filter arm-%-gnueabihf arm-oe-linux-gnueabi arm-poky-linux-gnueabi arm-yoe-linux-gnueabi arm-oe-linux-musleabi arm-poky-linux-musleabi arm-yoe-linux-musleabi,$$($(1)_compiler_preferred_target)),)
26 +  ifneq ($$(filter arm-%-gnueabihf arm-oe-linux-gnueabi arm-poky-linux-gnueabi arm-yoe-linux-gnueabi arm-agl-linux-gnueabi arm-oe-linux-musleabi arm-poky-linux-musleabi arm-yoe-linux-musleabi,$$($(1)_compiler_preferred_target)),)
27     $(1)_compiler_preferred_target := arm-linux-gnueabihf
28    endif
29    ifneq ($$(filter arm-%-gnueabi armv7a-cros-linux-gnueabi armv7hl-redhat-linux-gnueabi,$$($(1)_compiler_preferred_target)),)
30 -- 
31 2.30.2
32