Skip to contentSkip to conversation

libxl: remove explicit rule for libxl_arm_acpi.o

PATCH In review Wei Liu 3 participants 4 messages Oct 18, 2016

lore
Share & tools
lore

Wei Liu

author
#0 lore raw

PATCH 1/1 libxl: remove explicit rule for libxl_arm_acpi.o

After 9c635883 ("ARM64: fix libxl build, do not include ../../xen/include") there is nothing special needed to build libxl_arm_acpi.o. Remove the explicit rule, use predefined one.

Build tested on ARM64.

---
Cc: Ian Jackson <[email protected]>
Cc: Stefano Stabellini <[email protected]>
Cc: Steve Capper <[email protected]>

---
 tools/libxl/Makefile | 3 ---
 1 file changed, 3 deletions(-)
tools/libxl/Makefile +0 -3
index dac19ac..79e4019 100644
@@ -94,9 +94,6 @@ ifeq ($(CONFIG_ARM_64),y)
 LIBXL_OBJS-y += libxl_arm_acpi.o dsdt_anycpu_arm.o
 dsdt_anycpu_arm.c:
 	$(MAKE) -C $(ACPI_PATH) ACPI_BUILD_DIR=$(CURDIR)
-
-libxl_arm_acpi.o: libxl_arm_acpi.c
-	$(CC) -c $(CFLAGS) -o $@ libxl_arm_acpi.c
 else
 LIBXL_OBJS-$(CONFIG_ARM) += libxl_arm_no_acpi.o
 endif
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Acked-by on v1 1/1
#1 lore raw

Wei Liu writes ("[PATCH] libxl: remove explicit rule for libxl_arm_acpi.o"):

Quoted 8 lines

After 9c635883 ("ARM64: fix libxl build, do not include ../../xen/include") there is nothing special needed to build libxl_arm_acpi.o. Remove the explicit rule, use predefined one.

Build tested on ARM64.

Based on your build test.

Thanks,
Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

Reviewed-by on v1 1/1
#2 lore raw
In reply to Wei Liu
Quoted 8 lines · Wei Liu

After 9c635883 ("ARM64: fix libxl build, do not include ../../xen/include") there is nothing special needed to build libxl_arm_acpi.o. Remove the explicit rule, use predefined one.

Build tested on ARM64.

Quoted 24 lines
Cc Ian Jackson <[email protected]>
Cc Stefano Stabellini <[email protected]>
Cc Steve Capper <[email protected]>
---
 tools/libxl/Makefile | 3 ---
 1 file changed, 3 deletions(-)
tools/libxl/Makefile +0 -3
index dac19ac..79e4019 100644
@@ -94,9 +94,6 @@ ifeq ($(CONFIG_ARM_64),y)
 LIBXL_OBJS-y += libxl_arm_acpi.o dsdt_anycpu_arm.o
 dsdt_anycpu_arm.c:
 	$(MAKE) -C $(ACPI_PATH) ACPI_BUILD_DIR=$(CURDIR)
-
-libxl_arm_acpi.o: libxl_arm_acpi.c
-	$(CC) -c $(CFLAGS) -o $@ libxl_arm_acpi.c
 else
 LIBXL_OBJS-$(CONFIG_ARM) += libxl_arm_no_acpi.o
 endif
Signature · 1 line
2.1.4

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

author Applied
#3 lore raw
Quoted 5 lines · Stefano Stabellini
Quoted 4 lines · Wei Liu

After 9c635883 ("ARM64: fix libxl build, do not include ../../xen/include") there is nothing special needed to build libxl_arm_acpi.o. Remove the explicit rule, use predefined one.

Quoted 7 lines
Quoted 4 lines

Build tested on ARM64.

Applied. Thanks.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel