[coreboot] [PATCHes] Adopt coreboot build system for libpayload

Patrick Georgi patrick at georgi-clan.de
Tue May 10 21:24:47 CEST 2011


[resend]
Hi,

attached patches change libpayload to use the coreboot build system copied
into libpayload. Among the advantages is that it simplifies building a more
standard set of libraries (eg. libcurses, libc, libpci) which simplifies
porting code to libpayload a bit (as Makefiles can be used with fewer
changes).

For compatibility purposes, the build system still generates a
libpayload.a, which is simply a superset over all other libraries.

The first patch changes the build system to the new style.
The second patch fixes up the tree so it compiles with the tighter
warning/error regime imposed by the build system.
As a bonus, the third patch adds openbsd's strlcpy (in addition to strlcat
which we already have).

Signed-off-by: Patrick Georgi <patrick at georgi-clan.de>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Use-coreboot-build-system-for-libpayload-too.patch
Type: text/x-lisp
Size: 25934 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20110510/e28a942b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Reduce-warnings-errors-in-libpayload-when-using-pick.patch
Type: text/x-c
Size: 14427 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20110510/e28a942b/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Add-strlcpy-from-OpenBSD.patch
Type: text/x-c
Size: 3662 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20110510/e28a942b/attachment-0002.bin>


More information about the coreboot mailing list