[SeaBIOS] Compiling SeaBIOS for coreboot has problems with its ACPI code

Kevin O'Connor kevin at koconnor.net
Fri Jul 27 02:20:45 CEST 2012


On Thu, Jul 26, 2012 at 03:54:59PM +0200, Idwer Vollering wrote:
> 2012/7/26 Kevin O'Connor <kevin at koconnor.net>:
> > I don't understand why you're changing the makefile.
> 
> I was assuming the generation of out/ccode32flat.o.tmp.c was wrong,
> which isn't wrong...
> 
> $ LC_ALL=C LD=/home/idwer/coreboot/git/coreboot/util/crossgcc/xgcc/bin/i386-elf-ld
> CC=/home/idwer/coreboot/git/coreboot/util/crossgcc/xgcc/bin/i386-elf-gcc
> IASL=/home/idwer/coreboot/git/coreboot/util/crossgcc/xgcc/bin/iasl
> make menuconfig V=1

I don't think you want to use that syntax for overriding variables - use:
    make CC=abc IASL=xyz LD=lmn

[...]
> /home/idwer/coreboot/git/seabios/tools/kconfig/conf.c:6:20: fatal
> error: locale.h: No such file or directory
> compilation terminated.
> make[1]: *** [tools/kconfig/conf.o] Error 1
> make[1]: Leaving directory `/home/idwer/coreboot/git/seabios/out'
> make: *** [menuconfig] Error 2
> 
> What's the right option to extend, COMMONCFLAGS or MAKEFLAGS?

On my box it's /usr/include/locale.h - a glibc header.  I don't know
why that isn't being found.

-Kevin



More information about the SeaBIOS mailing list