[meta-arm,2/2] arm-bsp/trusted-firmware-a: consolidate FILESEXTRAPATHS

Submitted by Ross Burton on July 7, 2020, 4:24 p.m. | Patch ID: 174284

Details

Message ID 20200707162459.131391-2-ross@burtonini.com
State New
Headers show

Commit Message

Ross Burton July 7, 2020, 4:24 p.m.
From: Ross Burton <ross.burton@arm.com>

There's no need to set FILESEXTRAPATHS to "${THISDIR}/files/n1sdp:" when
n1sdp is the name of the current MACHINE as bitbake will search for
override-named directories automatically.

Instead just add ${THISDIR}/files and let bitbake do it's thing.

Change-Id: I0f58933ff9e56ee41a8fdd55f467d263c4e1b1e7
Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .../recipes-bsp/trusted-firmware-a/trusted-firmware-a-n1sdp.inc | 1 -
 .../trusted-firmware-a/trusted-firmware-a_2.%.bbappend          | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-n1sdp.inc b/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-n1sdp.inc
index ad4af5a..ef71ae5 100644
--- a/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-n1sdp.inc
+++ b/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a-n1sdp.inc
@@ -7,7 +7,6 @@  TFA_DEBUG          = "1"
 TFA_MBEDTLS        = "0"
 TFA_UBOOT          = "0"
 
-FILESEXTRAPATHS_prepend := "${THISDIR}/files/n1sdp:"
 SRC_URI_append = " \
     file://0001-n1sdp-arm-tf-disable-workaround-for-N1-Erratum-13157.patch \
     "
diff --git a/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.%.bbappend b/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.%.bbappend
index 4791538..2ce14b8 100644
--- a/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.%.bbappend
+++ b/meta-arm-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.%.bbappend
@@ -1,3 +1,5 @@ 
+FILESEXTRAPATHS_prepend := "${THISDIR}/files/:"
+
 # Machine specific TFAs
 
 MACHINE_TFA_REQUIRE ?= ""