[bootlin/training-materials updates] master: yocto-recipe-basics: update FILESPATH and FILESOVERRIDES values (4037d060)

Alexandre Belloni alexandre.belloni at bootlin.com
Wed Apr 7 18:59:13 CEST 2021


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/4037d06048dcb373dbdbd96fd37dbe08c5415e19

>---------------------------------------------------------------

commit 4037d06048dcb373dbdbd96fd37dbe08c5415e19
Author: Alexandre Belloni <alexandre.belloni at bootlin.com>
Date:   Wed Apr 7 18:59:13 2021 +0200

    yocto-recipe-basics: update FILESPATH and FILESOVERRIDES values
    
    Signed-off-by: Alexandre Belloni <alexandre.belloni at bootlin.com>


>---------------------------------------------------------------

4037d06048dcb373dbdbd96fd37dbe08c5415e19
 slides/yocto-recipe-basics/yocto-recipe-basics.tex | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/slides/yocto-recipe-basics/yocto-recipe-basics.tex b/slides/yocto-recipe-basics/yocto-recipe-basics.tex
index 4a616832..6444ad84 100644
--- a/slides/yocto-recipe-basics/yocto-recipe-basics.tex
+++ b/slides/yocto-recipe-basics/yocto-recipe-basics.tex
@@ -183,12 +183,11 @@ SRC_URI[patch.md5sum]   = "b184acf9eb39df794ffd..."
   \end{itemize}
   \begin{block}{}
   \begin{minted}{sh}
-FILESPATH = "${@base_set_filespath([
-                "${FILE_DIRNAME}/${PN}",
-                "${FILE_DIRNAME}/${PN}-${PV}",
-                "${FILE_DIRNAME}/files"], d)}"
+FILESPATH = "${@base_set_filespath(["${FILE_DIRNAME}/${BP}",
+                "${FILE_DIRNAME}/${BPN}","${FILE_DIRNAME}/files"], d)}
 
-FILESOVERRIDES = "${MACHINEOVERRIDES}:${DISTROOVERRIDES}"
+FILESOVERRIDES = "${TRANSLATED_TARGET_ARCH}:
+                  ${MACHINEOVERRIDES}:${DISTROOVERRIDES}"
   \end{minted}
   \end{block}
   \begin{itemize}




More information about the training-materials-updates mailing list