Skip to content

Commit

Permalink
yocto: slides: Use ${BPN} instead of ${PN} in the sourceforge example
Browse files Browse the repository at this point in the history
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@bootlin.com>
  • Loading branch information
minimaxwell committed Dec 3, 2021
1 parent 5be24f5 commit b1da73f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slides/yocto-recipe-basics/yocto-recipe-basics.tex
Expand Up @@ -139,7 +139,7 @@ \subsection{Organization of a recipe}
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}
Expand Down

0 comments on commit b1da73f

Please sign in to comment.