Don't build xen-shim for 32 bit build host
authorWei Liu <wei.liu2@citrix.com>
Tue, 16 Jan 2018 18:56:45 +0000 (18:56 +0000)
committerWei Liu <wei.liu2@citrix.com>
Tue, 16 Jan 2018 18:56:45 +0000 (18:56 +0000)
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
tools/firmware/Makefile

index 9387cc08789f228756fd30c18be80f6d6d4fbffc..b2f011df490c0631912648e19107707dc29a8124 100644 (file)
@@ -1,7 +1,9 @@
 XEN_ROOT = $(CURDIR)/../..
 include $(XEN_ROOT)/tools/Rules.mk
 
+ifneq ($(XEN_TARGET_ARCH),x86_32)
 CONFIG_PV_SHIM := y
+endif
 
 # hvmloader is a 32-bit protected mode binary.
 TARGET      := hvmloader/hvmloader