[flashrom] [PATCH]Improve libpayload support, provide libflashrom.a target

Georgi, Patrick Patrick.Georgi at secunet.com
Fri Feb 25 14:47:18 CET 2011


Hi,

attached patch contains a couple of build fixes for libpayload builds,
adds a "libpayload" OS_ARCH (which disables serial and usb programmers
and sets up the build to use lpgcc), and provides a new make target
"libflashrom.a" which combines all object files except the CLI_OBJS
class into libflashrom.a.

For a successful build you also need the libpayload patches on the
coreboot mailing list until they're checked in.

libflashrom.a still suffers from a variety of exit(1)s here and there,
so it's not quite a librarified flashrom yet, but it's a start.

Signed-off-by: Patrick Georgi <patrick.georgi at secunet.com>
-- 
Patrick Georgi
SINA-Development - High Security
secunet Security Networks AG - Mergenthalerallee 77 - 65760 Eschborn, Germany
Phone +49 201 54 54-3610 - Fax +49 201 54 54-1325 - www.secunet.com 

Sitz: Kronprinzenstraße 30, 45128 Essen / Amtsgericht Essen HRB 13615
Vorstand: Dr. Rainer Baumgart (Vors.), Thomas Koelzer, Thomas Pleines
Aufsichtsratsvorsitzender: Dr. Karsten Ottenberg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libflashrom.diff
Type: text/x-patch
Size: 3304 bytes
Desc: not available
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20110225/781151d0/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20110225/781151d0/attachment.asc>


More information about the flashrom mailing list