[coreboot] Passing CFLAGS to coreboot make (and reproducible builds)

Trammell Hudson hudson at trmm.net
Thu Feb 2 20:58:58 CET 2017


On Thu, Feb 02, 2017 at 08:55:56PM +0100, Zoran Stojsavljevic wrote:
> > Is there a right way to pass additional compiler flags to the coreboot
> > makefiles?  We've been working on making the Heads firmware reproducible
> > and found that the -fdebug-prefix-map option is necessary to deal with
> > different build directories.  To make this work with coreboot we ended
> > passing in environment variables CFLAGS_x86_32 and *CFLAGS_x86_64*:
> 
> In other words, Trammel, you would like to say that you can compile
> Coreboot to be x86_64 compliant (64 bits Coreboot build)?!

Or more likely I saw both of them in the Makefile and just passed in
both of them for good measure, but didn't go back to check which ones
were actually required for a qemu/x230/chell mainboard build...

-- 
Trammell



More information about the coreboot mailing list