]> git.baikalelectronics.ru Git - uboot.git/commit
acpi: Allow include files within the board directory
authorSimon Glass <sjg@chromium.org>
Wed, 1 Dec 2021 16:02:44 +0000 (09:02 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 25 Jan 2022 18:44:36 +0000 (11:44 -0700)
commitabc08ffbebb40a34f4b2b87e8aea2c26235685f6
tree9d640f0ad595e80e56fede89dddda14775b17f9e
parentbc66bbf6c9fbdd379c156977b28cad41614f9dff
acpi: Allow include files within the board directory

Some .asl files include others using the iasl 'include' directive. This
needs to be able to find the files referenced.

For an out-of-tree build the source directory is not the current
directory. Moreover, U-Boot preprocesses the input file and puts the
result in the output directory. So iasl does not know where the real
source file came from.

Add a -I option to produce the correct behaviour. We could add an option
to not preprocess the .asl source, but for now that seems unnecessary.

Signed-off-by: Simon Glass <sjg@chromium.org>
scripts/Makefile.lib