]> xenbits.xensource.com Git - qemu-xen-3.3-testing.git/commitdiff
Change install paths to /usr/share/xen for Xen build
authorIan Jackson <iwj@mariner.uk.xensource.com>
Tue, 17 Jun 2008 15:34:22 +0000 (16:34 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 17 Jun 2008 15:34:22 +0000 (16:34 +0100)
.gitignore
xen-hooks.mak
xen-setup

index 3fc83b3c478c43ad60332b3acc766e48223c3892..613216c063e91a6456c8a0317f3f2c22df10e263 100644 (file)
@@ -33,3 +33,6 @@ qemu-img
 i386-dm/Makefile
 i386-dm/config.mak
 i386-dm/qemu-dm
+qemu-img-xen
+dyngen-xen
+dist
index 45d92ba6da805da3b718e3df49733428ce77ff24..ec3a1df7265345ec76dde9fb48d877c8bef5196a 100644 (file)
@@ -40,3 +40,9 @@ BAD_OBJS += gdbstub.o acpi.o apic.o
 BAD_OBJS += vmmouse.o vmport.o tcg* helper.o
 
 OBJS := $(filter-out $(BAD_OBJS), $(OBJS))
+
+EXESUF=-xen
+
+datadir := $(subst qemu,xen/qemu,$(datadir))
+docdir :=  $(subst qemu,xen/qemu,$(docdir))
+mandir :=  $(subst share/man,share/xen/man,$(mandir))
index 1f52b42df6f4e9514e668f04240e892075cb9461..f735320251e3ce7cba108717424c868d99e20975 100755 (executable)
--- a/xen-setup
+++ b/xen-setup
@@ -1,16 +1,21 @@
 #!/bin/sh
 set -e
-if [ $# != 0 ]; then echo >&2 "usage: $0"; exit 1; fi
+
+# git-clean -x -d && ./xen-setup && make prefix=/usr CMDLINE_CFLAGS='-O0 -g' -j4 && make install DESTDIR=`pwd`/dist/ prefix=/usr && rsync -a --stats --delete . thule:shadow/qemu-iwj.git/ && rsync -a --stats dist/. root@thule:/
 
 rm -f $target/Makefile
 rm -f $target/config.mak
 rm -f config-host.mak
 
-./configure --disable-curses
+./configure --disable-curses "$@"
+
 
 target=i386-dm
 
 ln -sf ../Makefile.target $target/Makefile
 ln -sf ../xen-config.mak $target/config.mak
 cat xen-config-host.mak >>config-host.mak
-echo '#include "xen-config-host.h"' >>config-host.h
+
+sed -e 's,qemu,xen/qemu,' config-host.h >config-host.h.new
+echo '#include "xen-config-host.h"' >>config-host.h.new
+mv config-host.h.new config-host.h