[coreboot] [PATCH]filo and libpayload: Support Solaris in kconfig

Patrick Georgi patrick at georgi-clan.de
Thu Sep 18 18:58:01 CEST 2008


the following patch can be applied both to filo-0.6b and libpayload, and
is one of several changes to make things build on solaris.

The changes:
Preset CC to gcc in Makefile. There are some $(shell $(CC) ...)
invocations with GCC specific options, so that shouldn't hurt.

Replace stdbool.h include in util/kconfig/expr.h by a custom
implementation of booleans. This is okay as these booleans are purely
internal. It's necessary because there's some disagreement between the
Solaris headers and GCC on Solaris, about when stdbool.h is appropriate.

Remove stdbool.h include from util/kconfig/zconf.tab.c_shipped. This
file includes expr.h already, so it picks up the right set of
primitives, without duplicating the special case for Solaris.


Patrick Georgi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-20080918-1-kconfig-on-solaris.diff
Type: text/x-patch
Size: 1052 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080918/38f474e3/attachment.diff>

More information about the coreboot mailing list