[Xen-devel] [PATCH][3/4] Cross-compilation enablement.

Michal Ostrowski
Tue, 30 Aug 2005 12:25:21 -0000

changeset:   6468:f22c08b57c9a
user:        mostrows@heater.watson.ibm.com
date:        Mon Aug 29 19:45:28 2005 -0400
summary:     Fixes for cross-compilation.

diff -r 883365aa1b7d -r f22c08b57c9a tools/Makefile
--- a/tools/Makefile	Mon Aug 29 23:41:47 2005
+++ b/tools/Makefile	Mon Aug 29 23:45:28 2005
@@ -7,14 +7,18 @@
 SUBDIRS += misc
 SUBDIRS += examples
 SUBDIRS += xentrace
-SUBDIRS += python
 SUBDIRS += xcs
 SUBDIRS += xcutils
-#SUBDIRS += pygrub
 SUBDIRS += firmware
 SUBDIRS += security
 SUBDIRS += console
 SUBDIRS += xenstat
+
+# These don''t cross-compile
+ifeq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH))
+SUBDIRS += python
+#SUBDIRS += pygrub
+endif

 .PHONY: all install clean check check_clean ioemu eioemuinstall ioemuclean