X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=scripts%2FMakefile.lib;h=ed30bf5bb96b848a1296984f8b4c57835a10f89e;hb=2738948a05a30e8033129a82a0a63695e639fc78;hp=1c949fc0eb966cb13ea1c76fe509f50a92a74494;hpb=3834f41720b9340c97d8970d5a712fdcf2031df3;p=u-boot diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 1c949fc0eb..ed30bf5bb9 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -297,6 +297,17 @@ $(obj)/%.dtb: $(src)/%.dts FORCE dtc-tmp = $(subst $(comma),_,$(dot-target).dts.tmp) +# ACPI +# --------------------------------------------------------------------------- +quiet_cmd_acpi_c_asl= ASL $@ +cmd_acpi_c_asl= \ + $(CPP) -x assembler-with-cpp -P -o $<.tmp $<; \ + iasl -p $< -tc -va $<.tmp; \ + mv $(patsubst %.asl,%.hex,$<) $@ + +$(obj)/%.c: $(src)/%.asl + $(call cmd,acpi_c_asl) + # Bzip2 # ---------------------------------------------------------------------------