From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [edk2-devel] [PATCH v1 1/1] BaseTools: Build ASL files before C files To: Bob Feng ,devel@edk2.groups.io From: "PierreGondois" X-Originating-Location: Cambridge, England, GB (217.140.106.49) X-Originating-Platform: Windows Firefox 69 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Mon, 04 Nov 2019 02:32:50 -0800 References: <08650203BA1BD64D8AD9B6D5D74A85D16155DE49@SHSMSX104.ccr.corp.intel.com> In-Reply-To: <08650203BA1BD64D8AD9B6D5D74A85D16155DE49@SHSMSX104.ccr.corp.intel.com> Message-ID: <28272.1572863570530010155@groups.io> Content-Type: multipart/alternative; boundary="LzjfYgVppWDyegUV1pzA" --LzjfYgVppWDyegUV1pzA Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello Bob, >> How do you compile 'SsdtSerialPortTemplate.asl' with the '-tc' to the .= HEX file? , based on the build_rule.txt, I think the .asl output file is a = .aml file. [Pierre] Our platform has the following flag: [BuildOptions] *_*_*_ASL_FLAGS=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D = -tc This flag is used in the build_rule.txt as shown below: [Acpi-Source-Language-File] ... ... "$(ASL)" $( *ASL_FLAGS* ) $(ASL_OUTFLAGS)${dst} $(OUTPUT_DIR)(+)${s_dir}(+= )${s_base}.iiii Regards, Pierre --LzjfYgVppWDyegUV1pzA Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello Bob,

>> How do you compile 'SsdtSerialPortTemplate.asl' with th= e '-tc' to the .HEX file? , based on the build_rule.txt, I think th= e .asl output file is a .aml file.

[Pierre]
Our platform has the following flag:
[BuildOptions]
= =C2=A0 *_*_*_ASL_FLAGS=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 =3D -tc

This flag is used in the build_rule.txt as shown belo= w:
[Acpi-Source-Language-File]
=C2=A0=C2=A0=C2=A0 ...

=C2= =A0=C2=A0=C2=A0 <Command.XXX>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 ...
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "$(ASL)&#= 34; $(ASL_FLAGS) $(ASL_OUTFLAGS)${dst} $(OUTPUT_DIR)(+)${s= _dir}(+)${s_base}.iiii

Regards,
Pierre --LzjfYgVppWDyegUV1pzA--