aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenstat/Makefile
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-08-30 13:15:20 +0000
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-08-30 13:15:20 +0000
commit16504669c5cbb8b195d20412aadc838da5c428f7 (patch)
tree934b7fcf2f93932af3aaa288686efd7231abc94f /tools/xenstat/Makefile
parent5dbd0a6081a79a2098a4cdc7cb01f64fcf63057e (diff)
downloadxen-16504669c5cbb8b195d20412aadc838da5c428f7.tar.gz
xen-16504669c5cbb8b195d20412aadc838da5c428f7.tar.bz2
xen-16504669c5cbb8b195d20412aadc838da5c428f7.zip
Cross-compilation fixes.
Signed-off-by: Michal Ostrowski <mostrows@watson.ibm.com>
Diffstat (limited to 'tools/xenstat/Makefile')
-rw-r--r--tools/xenstat/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/xenstat/Makefile b/tools/xenstat/Makefile
index 4caec1a6da..1daa628bcb 100644
--- a/tools/xenstat/Makefile
+++ b/tools/xenstat/Makefile
@@ -3,7 +3,11 @@ include $(XEN_ROOT)/tools/Rules.mk
SUBDIRS :=
SUBDIRS += libxenstat
+
+# This doesn't cross-compile (cross-compile environments rarely have curses)
+ifeq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH))
SUBDIRS += xentop
+endif
.PHONY: all install clean