[PATCH v3] scripts: Makefile.lib: generate dsdt_generated.c instead of dsdt.c

Tom Rini trini at konsulko.com
Fri Feb 25 19:50:56 CET 2022

On Tue, Feb 22, 2022 at 02:54:39PM +0100, Philippe Reynes wrote:

> 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 <philippe.reynes at softathome.com>
> Tested-by: Heiko Thiery <heiko.thiery at gmail.com>

Applied to u-boot/master, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220225/7db8bed1/attachment.sig>

More information about the U-Boot mailing list