[LinuxBIOS] buildrom problems (serengeti cheetah, s2891)

Jordan Crouse jordan.crouse at amd.com
Wed Oct 24 22:26:08 CEST 2007

On 24/10/07 14:11 -0600, Myles Watson wrote:
> I checked out the latest buildrom and tried to build L-A-B for two targets,
> Serengeti cheetah and Tyan s2891.
> It fails to build the kernel because it passes KERNEL_CC=gcc -m32 to make,
> and make interprets the -m32 as an option to make.

> I'm assuming that there's something wrong with my environment, but I'm not
> sure how to fix it.

Its not you, its me.. :)  I just recently (this morning) changed buildrom
so that it passed about the 32 bit flags by default, to better enable
building on a 64 bit host.

On its face, this is a bug from way back - we should be
encapsulating all usages of $(CC), $(LD), etc in quotes.  But now I'm
wondering if we should bother passing the flags in to the kernel at all, since
it obviously knows how to do the right thing.
Let me think about it for a few minutes and get a patch up.


Jordan Crouse
Systems Software Development Engineer 
Advanced Micro Devices, Inc.

More information about the coreboot mailing list