ia64/xen-unstable

changeset 10727:3addc7020107

Make ioemu dir configurable and change prefix to /usr (works with old and new ioemu).

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
author chris@kneesaa.uk.xensource.com
date Wed Jul 12 10:33:37 2006 +0100 (2006-07-12)
parents 984225e947f1
children cebedeefbfbd
files tools/Makefile
line diff
     1.1 --- a/tools/Makefile	Mon Jul 10 18:35:07 2006 +0100
     1.2 +++ b/tools/Makefile	Wed Jul 12 10:33:37 2006 +0100
     1.3 @@ -58,10 +58,11 @@ check_clean:
     1.4  
     1.5  .PHONY: ioemu ioemuinstall ioemuclean
     1.6  ifdef CONFIG_IOEMU
     1.7 +export IOEMU_DIR ?= ioemu
     1.8  ioemu ioemuinstall ioemuclean:
     1.9 -	[ -f ioemu/config-host.h ] || \
    1.10 -	(cd ioemu; sh ./configure --prefix=usr)
    1.11 -	$(MAKE) -C ioemu $(patsubst ioemu%,%,$@)
    1.12 +	[ -f $(IOEMU_DIR)/config-host.h ] || \
    1.13 +	(cd $(IOEMU_DIR) && sh configure --prefix=/usr)
    1.14 +	$(MAKE) -C $(IOEMU_DIR) $(patsubst ioemu%,%,$@)
    1.15  else
    1.16  ioemu ioemuinstall ioemuclean:
    1.17  endif