From 3767227eb6c3f2a4044141595a295fa481f00f25 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 20 Mar 2009 15:58:24 +0000 Subject: [PATCH] xen-setup-stubdom: Actually plumb through XEN_ROOT We need to explicitly pass XEN_ROOT into the generated config-host.mak. Signed-off-by: Ian Jackson --- xen-setup-stubdom | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/xen-setup-stubdom b/xen-setup-stubdom index 24f91f39e..741f6c6ea 100755 --- a/xen-setup-stubdom +++ b/xen-setup-stubdom @@ -74,7 +74,17 @@ BUILD_DOCS=no CONFIG_AIO=no TOOLS= QEMU_ROOT ?= `pwd` +END + +if [ "x$XEN_ROOT" != x ]; then + echo "XEN_ROOT=$XEN_ROOT" >>config-host.mak.new +else + cat >>config-host.mak.new <>config-host.mak.new include \$(XEN_ROOT)/tools/Rules.mk SUBDIR_RULES=subdir-\$(TARGET_DIRS) subdir-\$(TARGET_DIRS): libqemu_common.a -- 2.39.5