From: Ian Jackson Date: Wed, 2 Jul 2008 15:12:27 +0000 (+0100) Subject: Propagate XEN_ROOT_PARENT when supplied by parent build system X-Git-Tag: xen-3.3.0-rc1~64 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=ad319633156c73de85b4d7f77280cb7566b80d9a;p=xenclient%2Fioemu.git Propagate XEN_ROOT_PARENT when supplied by parent build system --- diff --git a/xen-setup b/xen-setup index f7353202..fcc1603e 100755 --- a/xen-setup +++ b/xen-setup @@ -9,9 +9,14 @@ rm -f config-host.mak ./configure --disable-curses "$@" - target=i386-dm +case "$XEN_ROOT_PARENT" in +'') ;; +/*) echo "XEN_ROOT=$XEN_ROOT_PARENT" >>config-host.mak ;; +*) echo "XEN_ROOT=`pwd`/$XEN_ROOT_PARENT/.." >>config-host.mak ;; +esac + ln -sf ../Makefile.target $target/Makefile ln -sf ../xen-config.mak $target/config.mak cat xen-config-host.mak >>config-host.mak