summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@konsulko.com>2021-07-15 12:36:35 -0400
committerYogesh Siraswar <yogeshs@ti.com>2021-07-27 21:08:04 +0000
commit4c4cb8ecf27dbb22c9932ac474ff4b182701a440 (patch)
treed82a4f56ad06e73fb2d3602f32bf5e7fdf116034
parent951c222f2f4a87e2ba37ddfc45909fbfc5a553db (diff)
downloadmeta-ti-4c4cb8ecf27dbb22c9932ac474ff4b182701a440.tar.gz
ti-img-rogue-driver: unify with dunfell and fix double-patching
There was a discrepancy between master and dunfell where 2 different versions of the same patch existed, so when syncing branches, it resulted in appying the same change twice. This cleans it up. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
-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, 2 insertions, 28 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
deleted file mode 100644
index abe48dfd..00000000
--- a/recipes-bsp/powervr-drivers/ti-img-rogue-driver/0001-compiler.mk-support-OE-toolchain-alongside-Poky-one.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1From 0d291f91d86e59d87ce023b4e7b89f6b00aa4aab Mon Sep 17 00:00:00 2001
2From: Denys Dmytriyenko <denis@denix.org>
3Date: Sat, 27 Mar 2021 00:20:57 -0400
4Subject: [PATCH] compiler.mk: support OE toolchain alongside Poky one
5
6Signed-off-by: Denys Dmytriyenko <denis@denix.org>
7---
8 build/linux/config/compiler.mk | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/build/linux/config/compiler.mk b/build/linux/config/compiler.mk
12index 53a0bef..d45d438 100644
13--- a/build/linux/config/compiler.mk
14+++ b/build/linux/config/compiler.mk
15@@ -65,7 +65,7 @@ define calculate-compiler-preferred-target
16 ifneq ($$(filter i386-% i486-% i586-% i686-%,$$($(1)_compiler_preferred_target)),)
17 $(1)_compiler_preferred_target := i386-linux-gnu
18 endif
19- ifneq ($$(filter aarch64-poky-linux,$$($(1)_compiler_preferred_target)),)
20+ ifneq ($$(filter aarch64-poky-linux aarch64-oe-linux,$$($(1)_compiler_preferred_target)),)
21 $(1)_compiler_preferred_target := aarch64-linux-gnu
22 endif
23 ifneq ($$(filter armv7a-cros-linux-gnueabi armv7l-tizen-linux-gnueabi,$$($(1)_compiler_preferred_target)),)
24--
252.7.4
26
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 00f1d817..e6edebdd 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,8 +19,8 @@ PROVIDES = "virtual/gpudriver"
19 19
20BRANCH = "1.13-5776728/linux-k5.10" 20BRANCH = "1.13-5776728/linux-k5.10"
21 21
22SRC_URI = "git://git.ti.com/graphics/ti-img-rogue-driver.git;branch=${BRANCH} \ 22SRC_URI = " \
23 file://0001-compiler.mk-support-OE-toolchain-alongside-Poky-one.patch \ 23 git://git.ti.com/graphics/ti-img-rogue-driver.git;branch=${BRANCH} \
24 file://0001-compiler-support-OpenEmbedded-nodistro-internal-aarc.patch \ 24 file://0001-compiler-support-OpenEmbedded-nodistro-internal-aarc.patch \
25" 25"
26 26