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

Bin Meng bmeng.cn at gmail.com
Fri May 27 04:14:53 CEST 2016


On Thu, May 26, 2016 at 10:19 AM, 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 __ASSEMBLY__ in
> the header files to exclude everything that is not liked by IASL.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
>
> ---
>
> Changes in v2:
> - Use __ASSEMBLY__ define
>
>  scripts/Makefile.lib | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

applied to u-boot-x86, thanks!


More information about the U-Boot mailing list