aboutsummaryrefslogtreecommitdiffstats
path: root/tools/Makefile
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-12-28 09:14:16 +0000
committerKeir Fraser <keir.fraser@citrix.com>2009-12-28 09:14:16 +0000
commitb24834b7d5692627c6beb406a81ada6bc64bc814 (patch)
tree77d42285950c4ea3a597a33a8a7fcf7fa90b6ec7 /tools/Makefile
parentcc2a4ccbc5edfb70835e6ae04b5ce595d329470b (diff)
downloadxen-b24834b7d5692627c6beb406a81ada6bc64bc814.tar.gz
xen-b24834b7d5692627c6beb406a81ada6bc64bc814.tar.bz2
xen-b24834b7d5692627c6beb406a81ada6bc64bc814.zip
memshr: Build fixes
* Build memshr/xenpaging on x86/Linux only * Remove dependency on GCC 4.1+ __sync_*() intrinsics. Signed-off-by: Keir Fraser <keir.fraser@citrix.com> Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 478fc3d8f4..d5cffa2923 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -21,7 +21,6 @@ SUBDIRS-$(VTPM_TOOLS) += vtpm_manager
SUBDIRS-$(VTPM_TOOLS) += vtpm
SUBDIRS-y += xenstat
SUBDIRS-$(CONFIG_Linux) += libaio
-SUBDIRS-$(CONFIG_Linux) += memshr
SUBDIRS-$(CONFIG_Linux) += blktap
SUBDIRS-$(CONFIG_Linux) += blktap2
SUBDIRS-$(CONFIG_NetBSD) += libaio
@@ -35,7 +34,9 @@ SUBDIRS-$(CONFIG_IOEMU) += ioemu-dir
SUBDIRS-y += xenpmd
SUBDIRS-y += libxl
SUBDIRS-y += remus
-SUBDIRS-y += xenpaging
+
+SUBDIRS-$(CONFIG_X86)$(CONFIG_Linux) += memshr
+SUBDIRS-$(CONFIG_X86)$(CONFIG_Linux) += xenpaging
# These don't cross-compile
ifeq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH))