Skip to content

Commit

Permalink
slides/buildroot-appdev: improve pkg-config slide layout
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
  • Loading branch information
tpetazzoni committed May 29, 2021
1 parent 22d3613 commit 63a0b1b
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions slides/buildroot-appdev/buildroot-appdev.tex
Expand Up @@ -53,7 +53,7 @@ \section{Application development}
\begin{frame}[fragile]{Building code for Buildroot: pkg-config}
\begin{block}{Using the system \code{pkg-config}}
{\small
{\scriptsize
\begin{verbatim}
$ pkg-config --cflags libpng
-I/usr/include/libpng12
Expand All @@ -64,22 +64,18 @@ \section{Application development}
\end{block}
\begin{block}{Using the Buildroot \code{pkg-config}}
{\small
{\scriptsize
\begin{verbatim}
$ export PATH=$(pwd)/output/host/bin:$PATH
$ pkg-config --cflags libpng
-I.../output/host/arm-buildroot-linux-uclibcgnueabi/
sysroot/usr/include/libpng16
-I.../output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/libpng16
$ pkg-config --libs libpng
-L.../output/host/arm-buildroot-linux-uclibcgnueabi/
sysroot/usr/lib -lpng16
-L.../output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lpng16
\end{verbatim}}
\end{block}
{\tiny Note: too long lines have been split.}
\end{frame}
\begin{frame}[fragile]{Building code for Buildroot: autotools}
Expand Down

0 comments on commit 63a0b1b

Please sign in to comment.