mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-04-20 11:42:57 +00:00
ti-sgx-ddk-km: also support arm-oe-linux-gnueabi as a hardfp compiler
OE-built internal toolchain doesn't use "-gnueabihf" suffix and instead uses "-gnueabi" for both softfp and hardfp. For now we only support hardfp (user-space binaries are only available in hardfp), but would be nice to check for "callconvention-hard" before applying the patch. Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
From 755632b4f3a40996a12bc7816a9839af7112040a Mon Sep 17 00:00:00 2001
|
||||
From: Denys Dmytriyenko <denys@ti.com>
|
||||
Date: Mon, 9 Sep 2019 17:05:48 -0400
|
||||
Subject: [PATCH] km: support OpenEmbedded hardfp toolchain w/o -gnueabihf
|
||||
suffix
|
||||
|
||||
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
|
||||
---
|
||||
eurasia_km/eurasiacon/build/linux2/config/compiler.mk | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/eurasia_km/eurasiacon/build/linux2/config/compiler.mk b/eurasia_km/eurasiacon/build/linux2/config/compiler.mk
|
||||
index dead2f9..2ba3e5e 100644
|
||||
--- a/eurasia_km/eurasiacon/build/linux2/config/compiler.mk
|
||||
+++ b/eurasia_km/eurasiacon/build/linux2/config/compiler.mk
|
||||
@@ -68,12 +68,12 @@ define calculate-compiler-preferred-target
|
||||
ifneq ($$(filter aarch64-%,$$($(1)_compiler_preferred_target)),)
|
||||
$(1)_compiler_preferred_target := aarch64-linux-gnu
|
||||
endif
|
||||
+ ifneq ($$(filter arm-%-gnueabihf arm-oe-linux-gnueabi,$$($(1)_compiler_preferred_target)),)
|
||||
+ $(1)_compiler_preferred_target := arm-linux-gnueabihf
|
||||
+ endif
|
||||
ifneq ($$(filter arm-%-gnueabi armv7a-cros-linux-gnueabi armv7hl-redhat-linux-gnueabi,$$($(1)_compiler_preferred_target)),)
|
||||
$(1)_compiler_preferred_target := arm-linux-gnueabi
|
||||
endif
|
||||
- ifneq ($$(filter arm-%-gnueabihf,$$($(1)_compiler_preferred_target)),)
|
||||
- $(1)_compiler_preferred_target := arm-linux-gnueabihf
|
||||
- endif
|
||||
endif
|
||||
endef
|
||||
|
||||
--
|
||||
2.7.4
|
||||
|
||||
@@ -18,7 +18,9 @@ PROVIDES = "virtual/gpudriver"
|
||||
|
||||
BRANCH = "ti-img-sgx/${PV}/k4.19"
|
||||
|
||||
SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch=${BRANCH}"
|
||||
SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch=${BRANCH} \
|
||||
file://0001-km-support-OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user