]> xenbits.xen.org Git - xenclient/xen-pq.git/commitdiff
ioemu: fix compilation in corner cases.
authorJean Guyader <jean.guyader@eu.citrix.com>
Tue, 24 Nov 2009 15:14:22 +0000 (15:14 +0000)
committerJean Guyader <jean.guyader@eu.citrix.com>
Tue, 24 Nov 2009 15:14:22 +0000 (15:14 +0000)
master/fix_compilation

index 9a09543df80dde5af12579eb7a3a607e648b6f89..4eadb849823722767b72540dde790eb7fa41cdc3 100644 (file)
@@ -1,5 +1,5 @@
 diff --git a/tools/Makefile b/tools/Makefile
-index 00e3981..11b71f1 100644
+index 00e3981..56f0c60 100644
 --- a/tools/Makefile
 +++ b/tools/Makefile
 @@ -2,16 +2,16 @@ XEN_ROOT = ../
@@ -43,16 +43,20 @@ index 00e3981..11b71f1 100644
  
  # For the sake of linking, set the sys-root
  ifneq ($(CROSS_COMPILE),)
-@@ -54,7 +54,7 @@ install: subdirs-install
+@@ -53,11 +53,9 @@ install: subdirs-install
+ .PHONY: clean distclean
  clean distclean: subdirs-clean
  
- ifneq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH))
+-ifneq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH))
 -IOEMU_CONFIGURE_CROSS ?= --cpu=$(XEN_TARGET_ARCH) \
 +IOEMU_CONFIGURE_CROSS ?= --cpu=$(XEN_TARGET_ARCH:x86_32=i386) \
                         --cross-prefix=$(CROSS_COMPILE) \
                         --interp-prefix=$(CROSS_SYS_ROOT)
- endif
-@@ -69,26 +69,6 @@ subdir-clean-ioemu:
+-endif
+ ioemu/config-host.mak:
+       cd ioemu && XEN_TARGET_ARCH=$(XEN_TARGET_ARCH) sh configure \
+@@ -69,26 +67,6 @@ subdir-clean-ioemu:
        $(MAKE) -C ioemu distclean
  
  ioemu-dir-find: