[coreboot] compiling on FreeBSD
Beeblebrox
zaphod at berentweb.com
Sun Jun 29 10:34:08 CEST 2014
>> you need to replace make with gmake. Required ports/packages are
>> gmake, flex, bison, vim
Yes, you are correct, I forget the make/gmake switch sometimes. I
already have all needed ports on the system AFAIK.
"$ gmake menuconfig" works, but a small adjustment may be necessary on
some systems re GCC. Normally "$ gmake USE_GCC=any" should have worked
but it did not. So I had to do
/usr/local/bin > # ln -s gcc47 gcc && ln -s g++47 g++
The ncurses menu comes up now, although a bit strange looking. This is
a flex-on-FreeBSD problem if I recall correctly. I have flex-2.5.39_1.
$ which flex > /usr/local/bin/flex, this is flex from ports. flex from
base (/usr/bin/flex) which is ancient was removed for testing but I got
the same result.
Anyway, thanks for the help.
.config - coreboot configuration
┻ Mainboard
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ Mainboard
@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ ^@ Arrow keys navigate the menu.
<Enter> selects submenus ---> (or empty ^@ submenus ----). Highlighted
letters are hotkeys. Pressing <Y> includes, ^@ <N> excludes, <M>
modularizes features. Press <Esc><Esc> to exit, <?> for ^@ Help, </>
for Search. Legend: [*] built-in [ ] excluded <M> module < >
^@^@^@^^@^@^@^@@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^ Mainboard vendor (Emulation)
---> ^@ ^@^ Mainboard model
(QEMU x86 i440fx/piix4 (aka qemu -M pc)) ---> ^@ ^@^ ROM
chip size (256 KB) ---> ^@
^@^ (123456789) SMBIOS Serial
Number ^@ ^@^ (1.0) SMBIOS
Version Number (NEW) ^@ ^@^
(Emulation) SMBIOS Manufacturer (NEW)
^@ ^@^ (QEMU x86 i440fx/piix4) SMBIOS Product name
(NEW) ^@
^@^@
^@
^@^@
^@
^@^@
^@
^@^@
^@
^@^@
^@
^@^@
^@
^@^@^@^^@^@^@^@@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@<Select>^@^@< Exit >^@^@< Help >^@^@< Save >^@^@< Load
>^@^@^@^@^@^@
>^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^^
More information about the coreboot
mailing list