aboutsummaryrefslogtreecommitdiffstats
path: root/xen/Rules.mk
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2012-06-28 16:04:12 +0200
committerJan Beulich <jbeulich@suse.com>2012-06-28 16:04:12 +0200
commitc1f96709a67e3be8c030681cfecd131e23033dcc (patch)
treeab76cd52bc0f02ec6cacb1565ee2d444d0d785a4 /xen/Rules.mk
parent6f372739cb383fb3ac0fcf0897bdaa89eacdf8f1 (diff)
downloadxen-c1f96709a67e3be8c030681cfecd131e23033dcc.tar.gz
xen-c1f96709a67e3be8c030681cfecd131e23033dcc.tar.bz2
xen-c1f96709a67e3be8c030681cfecd131e23033dcc.zip
arm: fix build after c/s 25477:e12e0b038219
Only x86 currently has a struct vcpu field arch.gdbsx_vcpu_event. But as the whole function domain_pause_for_debugger() is pointless to be compiled when there's no arch support, simply introduce another HAS_* macro, enabled only on x86. Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/Rules.mk')
-rw-r--r--xen/Rules.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/Rules.mk b/xen/Rules.mk
index 6123835ec1..f7cb8b2c86 100644
--- a/xen/Rules.mk
+++ b/xen/Rules.mk
@@ -51,6 +51,7 @@ CFLAGS-$(perfc) += -DPERF_COUNTERS
CFLAGS-$(perfc_arrays) += -DPERF_ARRAYS
CFLAGS-$(lock_profile) += -DLOCK_PROFILE
CFLAGS-$(HAS_ACPI) += -DHAS_ACPI
+CFLAGS-$(HAS_GDBSX) += -DHAS_GDBSX
CFLAGS-$(HAS_PASSTHROUGH) += -DHAS_PASSTHROUGH
CFLAGS-$(frame_pointer) += -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER