[bootlin/training-materials updates] master: Embedded Linux: try to clarify pkg-config explanations (c9b1afe1)

Michael Opdenacker michael.opdenacker at bootlin.com
Wed Dec 8 09:48:16 CET 2021


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

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

commit c9b1afe1ac2d4379f43a96f7d80e9de27327ea18
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Wed Dec 8 09:47:21 2021 +0100

    Embedded Linux: try to clarify pkg-config explanations
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


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

c9b1afe1ac2d4379f43a96f7d80e9de27327ea18
 slides/sysdev-embedded-linux/sysdev-embedded-linux.tex | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/slides/sysdev-embedded-linux/sysdev-embedded-linux.tex b/slides/sysdev-embedded-linux/sysdev-embedded-linux.tex
index 3cf4bbc0..a70731c2 100644
--- a/slides/sysdev-embedded-linux/sysdev-embedded-linux.tex
+++ b/slides/sysdev-embedded-linux/sysdev-embedded-linux.tex
@@ -1168,8 +1168,10 @@ Contents of \code{usr/lib} after installation of {\em libpng} and {\em
     the \code{*.pc} files, and assumes that the paths in these files
     are correct.
   \item \code{PKG_CONFIG_LIBDIR} allows to set another location for the
-    \code{*.pc} files and \code{PKG_CONFIG_SYSROOT_DIR} to prepend a
-    prefix to the paths mentioned in the \code{.pc} files.
+    \code{*.pc} files.
+  \item \code{PKG_CONFIG_SYSROOT_DIR} allows to prepend a directory to the
+    paths mentioned in the \code{.pc} files and appearing in the
+    \code{pkg-config} output.
   \end{itemize}
 \end{frame}
 
@@ -1189,9 +1191,9 @@ Contents of \code{usr/lib} after installation of {\em libpng} and {\em
     \code{- libdir='/usr/lib'}\\
     \code{+ libdir='/my/build/space/usr/lib}'
   \item The \code{PKG_CONFIG_LIBDIR} environment variable must be set to
-    the location of the .pc files and the
-    \code{PKG_CONFIG_SYSROOT_DIR} variable must be set to the build
-    space directory.
+    the location of the \code{.pc} files, typically \code{/my/build/space/usr/lib/pkgconfig}
+  \item The \code{PKG_CONFIG_SYSROOT_DIR} variable must be set to the build
+        space directory.
 \end{itemize}
 \end{frame}
 




More information about the training-materials-updates mailing list