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.

Suggested-by: Steve Capper <steve.cap...@linaro.org>
Signed-off-by: Wei Liu <wei.l...@citrix.com>
---
Cc: Ian Jackson <ian.jack...@eu.citrix.com>
Cc: Stefano Stabellini <sstabell...@kernel.org>
Cc: Steve Capper <steve.cap...@linaro.org>
---
 tools/libxl/Makefile | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/tools/libxl/Makefile b/tools/libxl/Makefile
index dac19ac..79e4019 100644
--- a/tools/libxl/Makefile
+++ b/tools/libxl/Makefile
@@ -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
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to