From 5d94cbd1dca78deff57b3ffc2a484cfb70579503 Mon Sep 17 00:00:00 2001 From: Philippe Reynes Date: Tue, 22 Feb 2022 14:54:39 +0100 Subject: scripts: Makefile.lib: generate dsdt_generated.c instead of dsdt.c There is a conflict between the static file lib/acpi/dsdt.c and the file dsdt.c generated dynamicaly by scripts/Makefile.lib. When a mrproper is done, the static file dsdt.c is removed. If a build with acpi enabled is launched after, the following error is raised: CC lib/acpi/acpi_table.o make[2]: *** No rule to make target 'lib/acpi/dsdt.asl', needed by 'lib/acpi/dsdt.c'. Stop. scripts/Makefile.build:394: recipe for target 'lib/acpi' failed To avoid such error, the generated file is named dsdt_generated.c instead of dstdt.c. Signed-off-by: Philippe Reynes Tested-by: Heiko Thiery --- board/congatec/conga-qeval20-qa3-e3845/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board/congatec') diff --git a/board/congatec/conga-qeval20-qa3-e3845/Makefile b/board/congatec/conga-qeval20-qa3-e3845/Makefile index 451a4fcd6c4..215f5680dc7 100644 --- a/board/congatec/conga-qeval20-qa3-e3845/Makefile +++ b/board/congatec/conga-qeval20-qa3-e3845/Makefile @@ -3,4 +3,4 @@ # Copyright (C) 2015, Google, Inc obj-y += conga-qeval20-qa3.o -obj-$(CONFIG_GENERATE_ACPI_TABLE) += dsdt.o +obj-$(CONFIG_GENERATE_ACPI_TABLE) += dsdt_generated.o -- cgit v1.3.1