]> git.baikalelectronics.ru Git - uboot.git/commit
x86: Avoid writing temporary asl files into the source tree
authorSimon Glass <sjg@chromium.org>
Sun, 28 Jul 2019 20:16:28 +0000 (14:16 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 9 Aug 2019 14:24:02 +0000 (22:24 +0800)
commit6bd5712e81b2da682e8a406645534559eab16b8f
tree4c410385860520fa559cfd4ebacd8d4fadeb60eb
parent12ad2f98bf6cdbb9cf44ffdb1772698aef7df01d
x86: Avoid writing temporary asl files into the source tree

At present the iasl tool (Intel ACPI (Advanced Configuration and Power
Interface) Source Language Compiler) is called in such a way that it uses
the source directory for its temporary files.

This means we end up with these files when building x86 boards:

   board/dfi/dfi-bt700/dsdt.aml
   board/dfi/dfi-bt700/dsdt.asl.tmp

Update the code to put temporary files in the target directory instead.

The iasl tool is quite confusing since it generates files with different
extensions and does not allow these to be individually specified. Add some
documentation to help with this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
[bmeng: remove dsdt.hex from 'make clean' rules and correct U-Boot spelling]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
scripts/Makefile.lib