[bootlin/training-materials updates] master: yocto: slides: Use ${BPN} instead of ${PN} in the sourceforge example (b1da73f5)

Maxime Chevallier maxime.chevallier at bootlin.com
Fri Dec 3 17:05:19 CET 2021


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

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

commit b1da73f5d8243afab5867f472d9e57eb5aa8eaa7
Author: Maxime Chevallier <maxime.chevallier at bootlin.com>
Date:   Fri Dec 3 17:05:19 2021 +0100

    yocto: slides: Use ${BPN} instead of ${PN} in the sourceforge example
    
    Using ${PN} in SRC_URI now triggers a warning since it can contain
    special suffixes like -native. Use ${BPN} instead which is the now
    recommended way.
    
    Signed-off-by: Maxime Chevallier <maxime.chevallier at bootlin.com>


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

b1da73f5d8243afab5867f472d9e57eb5aa8eaa7
 slides/yocto-recipe-basics/yocto-recipe-basics.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/slides/yocto-recipe-basics/yocto-recipe-basics.tex b/slides/yocto-recipe-basics/yocto-recipe-basics.tex
index 6444ad84..2782b858 100644
--- a/slides/yocto-recipe-basics/yocto-recipe-basics.tex
+++ b/slides/yocto-recipe-basics/yocto-recipe-basics.tex
@@ -139,7 +139,7 @@
           locations: \code{${SOURCEFORGE_MIRROR}},
           \code{${GNU_MIRROR}}, \code{${KERNELORG_MIRROR}}\dots
         \item Example:
-          \code{${SOURCEFORGE_MIRROR}/<project-name>/${PN}-${PV}.tar.gz}
+          \code{${SOURCEFORGE_MIRROR}/<project-name>/${BPN}-${PV}.tar.gz}
         \item See \code{meta/conf/bitbake.conf}
       \end{itemize}
   \end{itemize}




More information about the training-materials-updates mailing list