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

Simon Glass sjg at chromium.org
Thu May 26 01:17:24 CEST 2016


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?


More information about the U-Boot mailing list