From b065b4cc6a28fe956017a9f94cb433760b90b2cf Mon Sep 17 00:00:00 2001 From: Luca Ceresoli Date: Fri, 2 Feb 2024 17:08:33 +0100 Subject: [PATCH] yocto: labs: remove recipe split into version-agnostic .inc The current trend is to stop doing that. See: https://github.com/bootlin/training-materials/pull/219#issuecomment-1862408787 Signed-off-by: Luca Ceresoli --- labs/yocto-add-application/yocto-add-application.tex | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/labs/yocto-add-application/yocto-add-application.tex b/labs/yocto-add-application/yocto-add-application.tex index f797b58a24..ffcaadaf43 100644 --- a/labs/yocto-add-application/yocto-add-application.tex +++ b/labs/yocto-add-application/yocto-add-application.tex @@ -109,13 +109,3 @@ \section{Inspect the build} \item Try to see if the licences of \code{nInvaders} were extracted. \end{itemize} - -\section{Split the recipe in a common and version specific parts} - -A recipe for an application is usually divided into a version specific \code{bb} -file and a common one. Try to follow this logic and separate the configuration -variables accordingly. The \code{require} keyword can be used to include the -\code{.inc} from the \code{.bb}. - -Which part do you think is version agnostic (\code{.inc}) and specific -(\code{.bb})?