[bootlin/training-materials updates] master: yocto: slides: add slide about list-packageconfig-flags.py (f96e5ca0)

Luca Ceresoli luca.ceresoli at bootlin.com
Fri Nov 11 14:57:05 CET 2022


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

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

commit f96e5ca002a6a3627cb016aee84c996581c88484
Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
Date:   Fri Nov 11 14:04:10 2022 +0100

    yocto: slides: add slide about list-packageconfig-flags.py
    
    Suggested-by: Alexandre Belloni <alexandre.belloni at bootlin.com>
    Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>


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

f96e5ca002a6a3627cb016aee84c996581c88484
 slides/yocto-recipe-extra/yocto-recipe-extra.tex | 34 ++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/slides/yocto-recipe-extra/yocto-recipe-extra.tex b/slides/yocto-recipe-extra/yocto-recipe-extra.tex
index 5bbbc919..da1ce6cd 100644
--- a/slides/yocto-recipe-extra/yocto-recipe-extra.tex
+++ b/slides/yocto-recipe-extra/yocto-recipe-extra.tex
@@ -171,6 +171,40 @@ PACKAGECONFIG:append:pn-gdb = " tui"
   \end{itemize}
 \end{frame}
 
+\begin{frame}[fragile]
+  \frametitle{Inspecting available \code{PACKAGECONFIG} flags}
+  \begin{itemize}
+  \item \code{${POKY_DIR}/scripts/contrib/list-packageconfig-flags.py}
+    shows the \code{PACKAGECONFIG} varflags available for each recipe:
+
+      \begin{block}{}
+        \begin{minted}[fontsize=\scriptsize]{sh}
+$ ../poky/scripts/contrib/list-packageconfig-flags.py
+RECIPE NAME    PACKAGECONFIG FLAGS
+==================================
+alsa-plugins   aaf jack libav maemo-plugin maemo-resource-manager pulseaudio samplerate speexdsp
+connman        3g bluez client iptables l2tp nfc nftables openvpn pptp systemd tist vpnc wifi ...
+gdb            babeltrace debuginfod python readline tui xz
+...
+        \end{minted}
+      \end{block}
+
+    \item The \code{-a} flag shows all the details:
+      \begin{block}{}
+        \begin{minted}[fontsize=\scriptsize]{sh}
+$ ../poky/scripts/contrib/list-packageconfig-flags.py -a
+connman-1.41
+/home/murray/w/yocto-stm32-labs/poky/meta/recipes-connectivity/connman/connman_1.41.bb
+PACKAGECONFIG wispr iptables client                   3g wifi                    bluez
+PACKAGECONFIG[wifi] --enable-wifi, --disable-wifi, wpa-supplicant, wpa-supplicant
+PACKAGECONFIG[bluez] --enable-bluetooth, --disable-bluetooth, bluez5, bluez5
+PACKAGECONFIG[openvpn] --enable-openvpn --with-openvpn=${sbindir}/openvpn,--disable-openvpn,,openvpn
+...
+        \end{minted}
+      \end{block}
+  \end{itemize}
+\end{frame}
+
 \subsection{Conditional features}
 
 \begin{frame}[fragile]




More information about the training-materials-updates mailing list