[FE training-materials-updates] sysdev-thirdparty: Add a clean up instruction between x86 and arm build
Gregory Clement
gregory.clement at free-electrons.com
Tue Aug 26 18:12:57 CEST 2014
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=02d8e00cde3322e19d449e598eca74e3c9655e16
>---------------------------------------------------------------
commit 02d8e00cde3322e19d449e598eca74e3c9655e16
Author: Gregory CLEMENT <gregory.clement at free-electrons.com>
Date: Tue Aug 26 18:10:02 2014 +0200
sysdev-thirdparty: Add a clean up instruction between x86 and arm build
To avoid a mix between x86 object and ARM object, explicitly asked to
clean up the source after building the alsa-lib for x86.
Signed-off-by: Gregory CLEMENT <gregory.clement at free-electrons.com>
>---------------------------------------------------------------
02d8e00cde3322e19d449e598eca74e3c9655e16
labs/sysdev-thirdparty/sysdev-thirdparty.tex | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/labs/sysdev-thirdparty/sysdev-thirdparty.tex b/labs/sysdev-thirdparty/sysdev-thirdparty.tex
index 65302e3..86c7123 100644
--- a/labs/sysdev-thirdparty/sysdev-thirdparty.tex
+++ b/labs/sysdev-thirdparty/sysdev-thirdparty.tex
@@ -132,10 +132,11 @@ make
You can see that the files are getting compiled with gcc, which
generates code for x86 and not for the target platform. This is
-obviously not what we want, so we tell the configure script to use the
-ARM cross-compiler:
+obviously not what we want, so we clean-up the object and tell the
+configure script to use the ARM cross-compiler:
\begin{verbatim}
+make clean
CC=arm-linux-gcc ./configure
\end{verbatim}
More information about the training-materials-updates
mailing list