- Add 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 - Remove all Makefiles that are empty now, which includes src/mainboard/Makefile.k8_CAR.inc and src/mainboard/Makefile.k8_ck804.inc and the include statements that used these files. - Add workaround to intel/xe7501devkit: It 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@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5171 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
4
Makefile
4
Makefile
@@ -142,7 +142,7 @@ subdirs:=$(PLATFORM-y) $(BUILD-y)
|
||||
$(eval $(call evaluate_subdirs))
|
||||
|
||||
|
||||
define objs_dsl_template
|
||||
define objs_asl_template
|
||||
$(obj)/$(1)%.o: src/$(1)%.asl
|
||||
@printf " IASL $$(subst $(top)/,,$$(@))\n"
|
||||
$(CPP) -D__ACPI__ -P $(CPPFLAGS) -include $(obj)/config.h -I$(src) -I$(src)/mainboard/$(MAINBOARDDIR) $$< -o $$(basename $$@).asl
|
||||
@@ -201,7 +201,7 @@ endef
|
||||
|
||||
usetemplate=$(foreach d,$(sort $(dir $($(1)))),$(eval $(call $(1)_$(2)_template,$(subst $(obj)/,,$(d)))))
|
||||
usetemplate=$(foreach d,$(sort $(dir $($(1)))),$(eval $(call $(1)_$(2)_template,$(subst $(obj)/,,$(d)))))
|
||||
$(eval $(call usetemplate,objs,dsl))
|
||||
$(eval $(call usetemplate,objs,asl))
|
||||
$(eval $(call usetemplate,objs,c))
|
||||
$(eval $(call usetemplate,objs,S))
|
||||
$(eval $(call usetemplate,initobjs,c))
|
||||
|
Reference in New Issue
Block a user