]> git.ipfire.org Git - people/ms/u-boot.git/commit - scripts/Makefile.lib
acpi: Pass -D__ASSEMBLY__ when compiling ASL files
authorBin Meng <bmeng.cn@gmail.com>
Thu, 26 May 2016 02:19:08 +0000 (19:19 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 30 May 2016 02:21:12 +0000 (10:21 +0800)
commit6683584c08cd58ed88a6b60d613bca9086bf8fab
tree092f3d35ae481b71ff2df29b64ce800d2383bbe0
parent3498cc9775e255875ae30ecfb4e29ea1220923a3
acpi: Pass -D__ASSEMBLY__ when compiling ASL files

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@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
scripts/Makefile.lib