[coreboot] [PATCH][v2] buildtarget tries to apply make syntax to shell

Patrick Georgi patrick at georgi-clan.de
Fri Jan 25 19:16:57 CET 2008


Hi,

see attached patch


Regards,
Patrick Georgi
-------------- next part --------------
bsh/ksh-clone and make(1)-syntax don't go well together
(unlike 5 lines later where make syntax is emitted into a file)

Signed-off-by: Patrick Georgi <patrick at georgi-clan.de>

Index: targets/buildtarget
===================================================================
--- targets/buildtarget	(Revision 3075)
+++ targets/buildtarget	(Arbeitskopie)
@@ -72,7 +72,7 @@
 ld --help | awk '{for (i=1;i<=NF;i++) if ($i ~ /build-id/){n++} }; END {exit n}' 
 build_id=$?
 if [ $build_id -ge 1 ] ; then
-	EXTRA_LFLAGS+=" -Wl,--build-id=none"
+	EXTRA_LFLAGS="$EXTRA_LFLAGS -Wl,--build-id=none"
 fi
 
 for i in $build_dir/Makefile.settings $build_dir/*/Makefile.settings


More information about the coreboot mailing list