Skip to content
  • Simon Glass's avatar
    x86: Avoid writing temporary asl files into the source tree · c1865bbd
    Simon Glass authored and Bin Meng's avatar Bin Meng committed
    
    
    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's avatarSimon Glass <sjg@chromium.org>
    Reviewed-by: Bin Meng's avatarBin Meng <bmeng.cn@gmail.com>
    Tested-by: Bin Meng's avatarBin Meng <bmeng.cn@gmail.com>
    [bmeng: remove dsdt.hex from 'make clean' rules and correct U-Boot spelling]
    Signed-off-by: Bin Meng's avatarBin Meng <bmeng.cn@gmail.com>
    c1865bbd