瀏覽代碼

acpi: Explicitly spell out dsdt.c in the make rule

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>
Bin Meng 9 年之前
父節點
當前提交
3a2a3d0b48
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/Makefile.lib

+ 1 - 1
scripts/Makefile.lib

@@ -329,7 +329,7 @@ cmd_acpi_c_asl=         \
 	iasl -p $< -tc -va $<.tmp; \
 	iasl -p $< -tc -va $<.tmp; \
 	mv $(patsubst %.asl,%.hex,$<) $@
 	mv $(patsubst %.asl,%.hex,$<) $@
 
 
-$(obj)/%.c:    $(src)/%.asl
+$(obj)/dsdt.c:    $(src)/dsdt.asl
 	$(call cmd,acpi_c_asl)
 	$(call cmd,acpi_c_asl)
 
 
 # Bzip2
 # Bzip2