[FE training-materials-updates] sysdev-realtime: fix usage of xeno-config
thomas.petazzoni at free-electrons.com
thomas.petazzoni at free-electrons.com
Fri Mar 16 14:52:01 CET 2012
- Log -----------------------------------------------------------------
http://git.free-electrons.com/training-materials/commit/?id=365b705a24f5f4a77bbd32e1f58b6fdb1c699bad
commit 365b705a24f5f4a77bbd32e1f58b6fdb1c699bad
Author: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Date: Fri Mar 16 14:51:01 2012 +0100
sysdev-realtime: fix usage of xeno-config
There was one 'export DESTDIR=' line where the '=' was
incorrect. Also, instead of using two lines to define and export the
variable, just do it at once, simpler.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
diff --git a/slides/sysdev-realtime/sysdev-realtime.tex b/slides/sysdev-realtime/sysdev-realtime.tex
index 22ed180..68b53ed 100644
--- a/slides/sysdev-realtime/sysdev-realtime.tex
+++ b/slides/sysdev-realtime/sysdev-realtime.tex
@@ -1207,8 +1207,7 @@ echo 0 > /debug/tracing/tracing_enabled
\begin{block}{}
\small
\begin{verbatim}
-DESTDIR=/path/to/xenomai/
-export DESTDIR=
+export DESTDIR=/path/to/xenomai/
CFL=`$DESTDIR/bin/xeno-config --posix-cflags`
LDF=`$DESTDIR/bin/xeno-config --posix-ldflags`
ARCH-gcc $CFL -o rttest rttest.c $LDF
@@ -1269,8 +1268,7 @@ ret = bind(s, (struct sockaddr *)&saddr, sizeof(saddr));
\begin{block}{}
\small
\begin{verbatim}
-DESTDIR=/path/to/xenomai/
-export DESTDIR
+export DESTDIR=/path/to/xenomai/
CFL=`$DESTDIR/bin/xeno-config --xeno-cflags`
LDF=`$DESTDIR/bin/xeno-config --xeno-ldflags`
ARCH-gcc $CFL -o rttest rttest.c $LDF -lnative
-----------------------------------------------------------------------
Summary of changes:
slides/sysdev-realtime/sysdev-realtime.tex | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
More information about the training-materials-updates
mailing list