[coreboot] [PATCH] buildrom: Add OpenFirmware support

ron minnich rminnich at gmail.com
Thu Apr 24 19:47:38 CEST 2008


buildrom can be fragile on the clean. I ^C in the middle of it
wget'ing OFW (long story) and now:
[rminnich at xcpu buildrom-devel]$ make clean
maCleaning coreboot v3...
ke
Cleaning Openfirmware...
make: *** [ofw-clean] Error 2
[rminnich at xcpu buildrom-devel]$ make
Fetching OpenFirmware...
SVN Checkout rev 720
Fetching svn://openbios.org/openfirmware...
^C^C^C^C^Z
[1]+  Stopped                 make
[rminnich at xcpu buildrom-devel]$ kill -9 %1
[1]+  Killed                  make
[rminnich at xcpu buildrom-devel]$
[rminnich at xcpu buildrom-devel]$
[rminnich at xcpu buildrom-devel]$ make menuconfig
#
# using defaults found in .config
#
.config:93:warning: symbol value '' invalid for LAB_PAUSE


*** End of buildrom configuration.
*** Execute 'make' to build buildrom or try 'make help'.

[rminnich at xcpu buildrom-devel]$ make clean all
Cleaning coreboot v3...
Cleaning Openfirmware...
make: *** [ofw-clean] Error 2
[rminnich at xcpu buildrom-devel]$ mak eclean
bash: mak: command not found
[rminnich at xcpu buildrom-devel]$ make clean
Cleaning coreboot v3...
Cleaning Openfirmware...
make: *** [ofw-clean] Error 2
[rminnich at xcpu buildrom-devel]$

[rminnich at xcpu buildrom-devel]$ make
Patching OpenFirmware...
Applying patch patches/ofw_coreboot_qemu.patch
The text leading up to this was:
--------------------------
|Index: cpu/x86/pc/biosload/config.fth
|===================================================================
|--- a/cpu/x86/pc/biosload/config.fth   (Revision 720)
|+++ b/cpu/x86/pc/biosload/config.fth   (Arbeitskopie)
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
Patch patches/ofw_coreboot_qemu.patch does not apply (enforce with -f)
make: *** [/home/rminnich/src/bios/buildrom/buildrom-devel/work/ofw/stamps/.patched]
Error 1
[rminnich at xcpu buildrom-devel]$ make distclean
[rminnich at xcpu buildrom-devel]$ make clean
Cleaning coreboot v3...
make: *** [coreboot-v3-clean] Error 2


it's just all kindsa confused and I can't get it undone. Maybe a
'fuxored' target that would
do what needs to be done, without regard to the state?

distclean seems not to help.

ron




More information about the coreboot mailing list