From 2256643d06799d4ff0b1f7c5e542cd5af6f7670e Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Fri, 14 Apr 2006 14:18:39 +0100 Subject: [PATCH] Trivial patch to fix x86_64 builds in which XEN_TARGET_ARCH is specified on the make command line, e.g.: make XEN_TARGET_ARCH=x86_64 This busted the vmxassist and hvmloader builds, which must be done -m32. Using "override" in the vmxassist/hvmloader Makefiles fixes the problem by not allowing this to be overridden from the command line. Signed-off-by: Dave Lively --- tools/firmware/hvmloader/Makefile | 2 +- tools/firmware/vmxassist/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/firmware/hvmloader/Makefile b/tools/firmware/hvmloader/Makefile index c38832fbc5..7d76d8002d 100644 --- a/tools/firmware/hvmloader/Makefile +++ b/tools/firmware/hvmloader/Makefile @@ -21,7 +21,7 @@ # External CFLAGS can do more harm than good. CFLAGS := -XEN_TARGET_ARCH = x86_32 +override XEN_TARGET_ARCH = x86_32 XEN_ROOT = ../../.. include $(XEN_ROOT)/Config.mk diff --git a/tools/firmware/vmxassist/Makefile b/tools/firmware/vmxassist/Makefile index d34d107373..08fea45781 100644 --- a/tools/firmware/vmxassist/Makefile +++ b/tools/firmware/vmxassist/Makefile @@ -21,7 +21,7 @@ # External CFLAGS can do more harm than good. CFLAGS := -XEN_TARGET_ARCH = x86_32 +override XEN_TARGET_ARCH = x86_32 XEN_ROOT = ../../.. include $(XEN_ROOT)/Config.mk -- 2.39.5