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

Tom Rini trini at konsulko.com
Fri Feb 25 21:53:45 CET 2022


On Fri, Feb 25, 2022 at 06:30:05PM +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.
> 
> Tested-by: Heiko Thiery <heiko.thiery at gmail.com>
> Signed-off-by: Philippe Reynes <philippe.reynes at softathome.com>
> ---
> 
> Changelog:
> v4:
> - update dsdt.* to dsdt_generated.* in several .gitignore
> v3:
> - update comments in file scripts/Makefile.lib
> - add changelog
> v2
> - change generated file name (dsdt_generated.c)
>   instead of changing the name of the static file
> - NOTE : forgot to call it v2 and forgot changelog

Sorry, I missed that this had come through while testing and applying
v3.  Can  you please do an incremental patch with the changes?  Thanks!

-- 
Tom
-------------- 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/6d890b1e/attachment.sig>


More information about the U-Boot mailing list