- Add rules that build either 4 or 5 ssdts (only those variants exist in the board now)
- Change ACPI_SSDTX_NUM to either 4 or 5 for boards that have ssdtX.asl files, according to the number of ssdtX.asl there. - Remove custom ssdt rules Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5176 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@@ -202,6 +202,15 @@ endif
|
||||
ifeq ($(CONFIG_GENERATE_ACPI_TABLES),y)
|
||||
objs += $(obj)/mainboard/$(MAINBOARDDIR)/acpi_tables.o
|
||||
objs += $(obj)/mainboard/$(MAINBOARDDIR)/dsdt.o
|
||||
# make doesn't have arithmetic operators or greater-than comparisons
|
||||
ifeq ($(subst 5,4,$(CONFIG_ACPI_SSDTX_NUM)),4)
|
||||
objs += $(obj)/mainboard/$(MAINBOARDDIR)/ssdt2.o
|
||||
objs += $(obj)/mainboard/$(MAINBOARDDIR)/ssdt3.o
|
||||
objs += $(obj)/mainboard/$(MAINBOARDDIR)/ssdt4.o
|
||||
endif
|
||||
ifeq ($(CONFIG_ACPI_SSDTX_NUM),5)
|
||||
objs += $(obj)/mainboard/$(MAINBOARDDIR)/ssdt5.o
|
||||
endif
|
||||
ifeq ($(CONFIG_BOARD_HAS_FADT),y)
|
||||
objs += $(obj)/mainboard/$(MAINBOARDDIR)/fadt.o
|
||||
endif
|
||||
|
Reference in New Issue
Block a user