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

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri Oct 29 10:46:36 CEST 2021


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

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

commit 0af3ce672fe92a03e1306db23bf64456739df469
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>


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

0af3ce672fe92a03e1306db23bf64456739df469
 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