mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-04-20 19:53:43 +00:00
ti-img-rogue-driver: support OE nodistro toolchain same as Poky
Add OpenEmbedded "nodistro" internal toolchain triplet detection similar to corresponding Poky one. Cc: Gowtham Tammana <g-tammana@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
This commit is contained in:
committed by
Yogesh Siraswar
parent
c4a33c8fcf
commit
1eae9060a5
@@ -0,0 +1,29 @@
|
||||
From 80d32fee3d768abbd77cce77ea9a7574651460a9 Mon Sep 17 00:00:00 2001
|
||||
From: Denys Dmytriyenko <denis@denix.org>
|
||||
Date: Wed, 7 Jul 2021 13:11:56 -0400
|
||||
Subject: [PATCH] compiler: support OpenEmbedded "nodistro" internal aarch64
|
||||
toolchain
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
|
||||
---
|
||||
build/linux/config/compiler.mk | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/build/linux/config/compiler.mk b/build/linux/config/compiler.mk
|
||||
index 53a0bef..d788579 100644
|
||||
--- a/build/linux/config/compiler.mk
|
||||
+++ b/build/linux/config/compiler.mk
|
||||
@@ -65,7 +65,7 @@ define calculate-compiler-preferred-target
|
||||
ifneq ($$(filter i386-% i486-% i586-% i686-%,$$($(1)_compiler_preferred_target)),)
|
||||
$(1)_compiler_preferred_target := i386-linux-gnu
|
||||
endif
|
||||
- ifneq ($$(filter aarch64-poky-linux,$$($(1)_compiler_preferred_target)),)
|
||||
+ ifneq ($$(filter aarch64-oe-linux aarch64-poky-linux,$$($(1)_compiler_preferred_target)),)
|
||||
$(1)_compiler_preferred_target := aarch64-linux-gnu
|
||||
endif
|
||||
ifneq ($$(filter armv7a-cros-linux-gnueabi armv7l-tizen-linux-gnueabi,$$($(1)_compiler_preferred_target)),)
|
||||
--
|
||||
2.7.4
|
||||
|
||||
@@ -21,6 +21,7 @@ BRANCH = "1.13-5776728/linux-k5.10"
|
||||
|
||||
SRC_URI = "git://git.ti.com/graphics/ti-img-rogue-driver.git;branch=${BRANCH} \
|
||||
file://0001-compiler.mk-support-OE-toolchain-alongside-Poky-one.patch \
|
||||
file://0001-compiler-support-OpenEmbedded-nodistro-internal-aarc.patch \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
Reference in New Issue
Block a user