[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Make ioemu dir configurable and change prefix to /usr (works with old and new ioemu).



# HG changeset patch
# User chris@xxxxxxxxxxxxxxxxxxxxxxxx
# Node ID 3addc7020107522c5bbb2d2c8829391923a1bc30
# Parent  984225e947f1155c07227f2306527d940d62444e
Make ioemu dir configurable and change prefix to /usr (works with old and new 
ioemu).

Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxxx>
---
 tools/Makefile |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff -r 984225e947f1 -r 3addc7020107 tools/Makefile
--- a/tools/Makefile    Mon Jul 10 18:35:07 2006 +0100
+++ b/tools/Makefile    Wed Jul 12 10:33:37 2006 +0100
@@ -58,10 +58,11 @@ check_clean:
 
 .PHONY: ioemu ioemuinstall ioemuclean
 ifdef CONFIG_IOEMU
+export IOEMU_DIR ?= ioemu
 ioemu ioemuinstall ioemuclean:
-       [ -f ioemu/config-host.h ] || \
-       (cd ioemu; sh ./configure --prefix=usr)
-       $(MAKE) -C ioemu $(patsubst ioemu%,%,$@)
+       [ -f $(IOEMU_DIR)/config-host.h ] || \
+       (cd $(IOEMU_DIR) && sh configure --prefix=/usr)
+       $(MAKE) -C $(IOEMU_DIR) $(patsubst ioemu%,%,$@)
 else
 ioemu ioemuinstall ioemuclean:
 endif

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.