]> git.sur5r.net Git - u-boot/commitdiff
acpi: Explicitly spell out dsdt.c in the make rule
authorBin Meng <bmeng.cn@gmail.com>
Sat, 7 May 2016 14:46:17 +0000 (07:46 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 23 May 2016 07:18:00 +0000 (15:18 +0800)
Currently the make rule for dsdt.c uses a wildcard, as below:

  $(obj)/%.c:    $(src)/%.asl

To avoid any side effect, explicitly mention dsdt.c as this is
the file we intend to use for ACPI DSDT AML generation.

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 4f882f1006245c810bfdb45c046e1ee330edd791..85b58198b317c2af5a306ca1d3279aa74797ae21 100644 (file)
@@ -329,7 +329,7 @@ cmd_acpi_c_asl=         \
        iasl -p $< -tc -va $<.tmp; \
        mv $(patsubst %.asl,%.hex,$<) $@
 
-$(obj)/%.c:    $(src)/%.asl
+$(obj)/dsdt.c:    $(src)/dsdt.asl
        $(call cmd,acpi_c_asl)
 
 # Bzip2