mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-30 19:48:19 +00:00 
			
		
		
		
	We have two implementations of write_acpi_tables(). One for writing ACPI tables based on ACPI_WRITER() entries another based on copying tables from QEMU. Create a symbol CONFIG_QFW_ACPI that signifies copying ACPI tables from QEMU and use it consistently. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
		
			
				
	
	
		
			30 lines
		
	
	
		
			582 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			582 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| # SPDX-License-Identifier: GPL-2.0+
 | |
| #
 | |
| 
 | |
| obj-y += acpi.o
 | |
| 
 | |
| ifdef CONFIG_$(SPL_TPL_)GENERATE_ACPI_TABLE
 | |
| 
 | |
| obj-$(CONFIG_$(SPL_)ACPIGEN) += acpigen.o
 | |
| obj-$(CONFIG_$(SPL_)ACPIGEN) += acpi_device.o
 | |
| obj-$(CONFIG_$(SPL_)ACPIGEN) += acpi_dp.o
 | |
| obj-$(CONFIG_$(SPL_)ACPIGEN) += acpi_table.o
 | |
| obj-y += acpi_writer.o
 | |
| 
 | |
| # With QEMU the ACPI tables come from there, not from U-Boot
 | |
| ifndef CONFIG_QFW_ACPI
 | |
| obj-y += base.o
 | |
| obj-y += csrt.o
 | |
| obj-y += mcfg.o
 | |
| 
 | |
| # Sandbox does not build a .asl file
 | |
| ifndef CONFIG_SANDBOX
 | |
| obj-y += dsdt.o
 | |
| endif
 | |
| 
 | |
| obj-y += facs.o
 | |
| obj-y += ssdt.o
 | |
| endif
 | |
| 
 | |
| endif # GENERATE_ACPI_TABLE
 |