aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@konsulko.com>2021-04-03 06:09:55 +0000
committerPraneeth Bajjuri <praneeth@ti.com>2021-04-05 23:07:41 -0500
commit35ae9808bea70cd0ab194fb38adc4c4f7a662122 (patch)
tree17d4cad27cf0ed126e6f645d0d4c5de8ccc21bd6 /recipes-bsp
parentaf3d951506830aca8c576131b554c6db35e7c235 (diff)
downloadmeta-ti-35ae9808bea70cd0ab194fb38adc4c4f7a662122.tar.gz
meta-ti-35ae9808bea70cd0ab194fb38adc4c4f7a662122.tar.bz2
meta-ti-35ae9808bea70cd0ab194fb38adc4c4f7a662122.zip
ti-img-rogue-driver: support OE toolchain alongside Poky one
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Cc: Gowtham Tammana <g-tammana@ti.com> Reviewed-by: Gowtham Tammana <g-tammana@ti.com>
Diffstat (limited to 'recipes-bsp')
-rw-r--r--recipes-bsp/powervr-drivers/ti-img-rogue-driver/0001-compiler.mk-support-OE-toolchain-alongside-Poky-one.patch26
-rw-r--r--recipes-bsp/powervr-drivers/ti-img-rogue-driver_1.13.5776728.bb4
2 files changed, 29 insertions, 1 deletions
diff --git a/recipes-bsp/powervr-drivers/ti-img-rogue-driver/0001-compiler.mk-support-OE-toolchain-alongside-Poky-one.patch b/recipes-bsp/powervr-drivers/ti-img-rogue-driver/0001-compiler.mk-support-OE-toolchain-alongside-Poky-one.patch
new file mode 100644
index 000000000..abe48dfda
--- /dev/null
+++ b/recipes-bsp/powervr-drivers/ti-img-rogue-driver/0001-compiler.mk-support-OE-toolchain-alongside-Poky-one.patch
@@ -0,0 +1,26 @@
+From 0d291f91d86e59d87ce023b4e7b89f6b00aa4aab Mon Sep 17 00:00:00 2001
+From: Denys Dmytriyenko <denis@denix.org>
+Date: Sat, 27 Mar 2021 00:20:57 -0400
+Subject: [PATCH] compiler.mk: support OE toolchain alongside Poky one
+
+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..d45d438 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-poky-linux aarch64-oe-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
+
diff --git a/recipes-bsp/powervr-drivers/ti-img-rogue-driver_1.13.5776728.bb b/recipes-bsp/powervr-drivers/ti-img-rogue-driver_1.13.5776728.bb
index db3901d2f..6b0e65370 100644
--- a/recipes-bsp/powervr-drivers/ti-img-rogue-driver_1.13.5776728.bb
+++ b/recipes-bsp/powervr-drivers/ti-img-rogue-driver_1.13.5776728.bb
@@ -19,7 +19,9 @@ PROVIDES = "virtual/gpudriver"
BRANCH = "1.13-5776728/linux-k5.4"
-SRC_URI = "git://git.ti.com/graphics/ti-img-rogue-driver.git;branch=${BRANCH}"
+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 \
+"
S = "${WORKDIR}/git"