[U-Boot] [PATCH 3/8] acpi: Pass -D__ACPI__ when compiling ASL files

Bin Meng bmeng.cn at gmail.com
Thu May 26 02:08:10 CEST 2016


Hi Simon,

On Thu, May 26, 2016 at 7:17 AM, Simon Glass <sjg at chromium.org> wrote:
> On 25 May 2016 at 02:48, Bin Meng <bmeng.cn at gmail.com> wrote:
>> ASL files may include various U-Boot header files, but IASL compiler
>> does not understand any C language embedded in these header files.
>> To reuse those header files for ASL compiling, use __ACPI__ in the
>> header files to exclude everything that is not liked by IASL.
>>
>> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
>> ---
>>
>>  scripts/Makefile.lib | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> Reviewed-by: Simon Glass <sjg at chromium.org>
>
> Can we reuse the __ASSEMBLY__ define?

I think so. I will respin a v2.

Regards,
Bin


More information about the U-Boot mailing list