]> git.sur5r.net Git - u-boot/commitdiff
acpi: Specify U-Boot include path for ASL files
authorBin Meng <bmeng.cn@gmail.com>
Sat, 7 May 2016 14:46:18 +0000 (07:46 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 23 May 2016 07:18:00 +0000 (15:18 +0800)
It will be much easier if we split the whole dsdt.asl file into
multiple smaller ASL parts and have access to U-Boot include files.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Tested-by: Stefan Roese <sr@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
scripts/Makefile.lib

index 85b58198b317c2af5a306ca1d3279aa74797ae21..5f0b0501e3f91ef21a87f1a3f0bfd7265859256f 100644 (file)
@@ -325,7 +325,7 @@ $(obj)/%.S: $(src)/%.ttf
 # ---------------------------------------------------------------------------
 quiet_cmd_acpi_c_asl= ASL     $<
 cmd_acpi_c_asl=         \
-       $(CPP) -x assembler-with-cpp -P -o $<.tmp $<; \
+       $(CPP) -x assembler-with-cpp -P $(UBOOTINCLUDE) -o $<.tmp $<; \
        iasl -p $< -tc -va $<.tmp; \
        mv $(patsubst %.asl,%.hex,$<) $@