[coreboot] [PATCH]more mainboard makefile removal

Patrick Georgi patrick at georgi-clan.de
Sat Feb 27 16:35:34 CET 2010


I'm seeing the end of this, but not yet: After this patch, ROMCCFLAGS
and the SSDT rules for ACPI are left for unification.

Patch changes:
- Adds config flag for boards that have their own fadt.c
  This should eventually go, as fadt seems to be better
  put into the southbridge
- Add config flag for boards that have get_bus_conf.c
  Might be cleaned out as well, no idea
- Use flags where appropriate.
- Move the following rules to src/arch/i386/Makefile.inc:
  - fadt.o
  - dsdt.o
  - acpi_tables.o
  - get_bus_conf.o
- Rename objs_dsl_template in toplevel Makefile to the more
  appropriate objs_asl_template
- Removes all Makefiles that are empty now, which includes
  src/mainboard/Makefile.k8_CAR.inc and
  and the include statements that used these files.

One workaround I had to add:
intel/xe7501devkit uses ACPI in an unusual way: It adds a MADT, but no
DSDT. As this is highly unusual, I didn't want to add explicit support
for that scenario (and encourage such uses that way), and added a dummy
dsdt.asl instead. It will be linked to dsdt.o, but not linked into the
final binary.

Signed-off-by: Patrick Georgi <patrick.georgi at coresystems.de>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 20100227-1-reduce-makefiles-even-more
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20100227/1b93de06/attachment.ksh>

More information about the coreboot mailing list