]> git.proxmox.com Git - mirror_edk2.git/commit
DynamicTablesPkg: Update ASL build options
authorPierre Gondois <pierre.gondois@arm.com>
Mon, 27 Jul 2020 10:08:23 +0000 (11:08 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 7 Aug 2020 17:25:13 +0000 (17:25 +0000)
commitb88d95bb5b5e363fa5f72f1198f57f8a251d12b6
tree316a7559a26dfa251d33bb7751548c7f024c8df0
parent2d0c42fdf2cf1855b0a042ef82d848c7716adefe
DynamicTablesPkg: Update ASL build options

The EdkII BaseTools have been updated to facilitate the
generation of C file containing AML data using the AmlToC
script. The build system follows the following sequence
for an ASL file compilation:
 - The ASL file is preprocessed using the C preprocessor
 - The Trim utility prunes the preprocessed file to removed
   unwanted data.
 - This file is compiled using an ASL compiler to generate
   an AML file.
 - The AmlToC python script reads the AML data and generates
   a C file with an array containing the AML data.
 - This C file containing a unique symbol name for the AML
   data array is then compiled with the firmware module.

This removes the dependency on the ACPICA iASL compiler's
"-tc" option which achieved the same effect but was less
portable. Therefore, remove the "-tc" option from the ASL
flags as this option is only been supported by the ACPICA
iASL compiler.

Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
Reviewed-by: Alexei Fedorov <Alexei.Fedorov@arm.com>
DynamicTablesPkg/DynamicTables.dsc.inc
DynamicTablesPkg/Readme.md