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

Philippe REYNES philippe.reynes at softathome.com
Tue Mar 8 10:38:43 CET 2022


Hi Tom,

Le 25/02/2022 à 21:53, Tom Rini a écrit :
> 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!
>
No problem, I understand, I just send a new patch with only the update 
on files .gitignore


Regards,

Philippe




More information about the U-Boot mailing list