diff mbox

[v3,14/16] hvmloader: Compile out the qemu-xen ACPI tables

Message ID 1456412174-20162-15-git-send-email-anthony.perard@citrix.com (mailing list archive)
State New, archived
Headers show

Commit Message

Anthony PERARD Feb. 25, 2016, 2:56 p.m. UTC
It should now be loaded by libxl.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
---
 tools/firmware/hvmloader/acpi/Makefile | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

Comments

Jan Beulich March 1, 2016, 4:19 p.m. UTC | #1
>>> On 25.02.16 at 15:56, <anthony.perard@citrix.com> wrote:
> It should now be loaded by libxl.
> 
> Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>

Pending concerns to previous patches, this one on its own clearly
looks fine, i.e.
Acked-by: Jan Beulich <jbeulich@suse.com>

Jan
diff mbox

Patch

diff --git a/tools/firmware/hvmloader/acpi/Makefile b/tools/firmware/hvmloader/acpi/Makefile
index a3041d3..3252ddf 100644
--- a/tools/firmware/hvmloader/acpi/Makefile
+++ b/tools/firmware/hvmloader/acpi/Makefile
@@ -17,7 +17,7 @@ 
 XEN_ROOT = $(CURDIR)/../../../..
 include $(XEN_ROOT)/tools/firmware/Rules.mk
 
-C_SRC = build.c dsdt_anycpu.c dsdt_15cpu.c static_tables.c dsdt_anycpu_qemu_xen.c
+C_SRC = build.c dsdt_anycpu.c dsdt_15cpu.c static_tables.c
 OBJS  = $(patsubst %.c,%.o,$(C_SRC))
 
 CFLAGS += $(CFLAGS_xeninclude)
@@ -48,12 +48,8 @@  $(filter dsdt_%cpu.c,$(C_SRC)): %.c: iasl %.asl
 	echo "int $*_len=sizeof($*);" >>$@
 	rm -f $*.aml $*.hex
 
-dsdt_anycpu_qemu_xen.c: dsdt_anycpu_qemu_xen.aml
 dsdt_anycpu_qemu_xen.aml: %.aml: iasl %.asl
-	iasl -vs -p $* -tc $*.asl
-	sed -e 's/AmlCode/$*/g' $*.hex >$*.c
-	echo "int $*_len=sizeof($*);" >>$*.c
-	rm -f $*.hex
+	iasl -vs -p $* $*.asl
 
 iasl:
 	@echo