]> git.baikalelectronics.ru Git - uboot.git/commit
scripts: Makefile.lib: generate dsdt_generated.c instead of dsdt.c
authorPhilippe Reynes <philippe.reynes@softathome.com>
Tue, 22 Feb 2022 13:54:39 +0000 (14:54 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 25 Feb 2022 16:21:24 +0000 (11:21 -0500)
commit2dc4500591c526298de7743fa35a71a5f80b3ccf
treeb87d455c7b6ceaeb9176b69dca51a1f378c9d077
parent7c19353501ae6cf23c05409f1dfbd803a3faef63
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 <philippe.reynes@softathome.com>
Tested-by: Heiko Thiery <heiko.thiery@gmail.com>
Makefile
board/advantech/som-db5800-som-6867/Makefile
board/congatec/conga-qeval20-qa3-e3845/Makefile
board/dfi/dfi-bt700/Makefile
board/google/chromebook_coral/Makefile
board/intel/bayleybay/Makefile
board/intel/edison/Makefile
board/intel/galileo/Makefile
board/intel/minnowmax/Makefile
scripts/Makefile.lib