[coreboot] [PATCH] Remove various .c #includes from Intel 440BX/82371EB boards

Uwe Hermann uwe at hermann-uwe.de
Thu Oct 7 23:50:14 CEST 2010


See patch.

This works fine (tested in abuild) for all 440BX boards, but it seems to
break the build of the QEMU target.

I tried to fix it but I don't really know how it can be done. The
problem is (I guess) that the QEMU target is still using ROMCC and
all other 82371EB boards don't (?) Any ideas?

    CC         southbridge/intel/i82371eb/i82371eb_early_smbus.romstage.o
    GEN        romstage/ldscript.ld
    LINK       coreboot.romstage
build/southbridge/intel/i82371eb/i82371eb_early_pm.romstage.o: In function `enable_pm':
/home/uwe/v4_remove_c/src/southbridge/intel/i82371eb/i82371eb_early_pm.c:42: undefined reference to `die'
build/southbridge/intel/i82371eb/i82371eb_early_smbus.romstage.o: In function `enable_smbus':
/home/uwe/v4_remove_c/src/southbridge/intel/i82371eb/i82371eb_early_smbus.c:47: undefined reference to `die'
collect2: ld returned 1 exit status
make: *** [build/coreboot.romstage] Error 1


Uwe.
-- 
http://hermann-uwe.de     | http://sigrok.org
http://randomprojects.org | http://unmaintained-free-software.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v4_remove_c_includes_i82371eb.patch
Type: text/x-diff
Size: 30008 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20101007/e1b01401/attachment.bin>


More information about the coreboot mailing list