Isaku Yamahata
2008-Aug-28 02:26 UTC
[Xen-devel] [PATCH] [RESEND] ioemu-remote: fix cross compilation.
>From 6dd3a58c8a9fa25d56aa258eda70871710951da0 Mon Sep 17 00:00:00 2001From: Isaku Yamahata <yamahata@valinux.co.jp> Date: Mon, 25 Aug 2008 14:27:49 +0900 Subject: [PATCH] fix cross compilation. When cross compile, INSTALL is set to cross-install by --install configure option. However it is overwritten by including $(XEN_ROOT)/tools/Rules.mk so that install command fails to strip as follows. So after the include set INSTALL again when --install is specified to configure.> install -m 755 -s qemu-img-xen "/xen-unstable.hg/dist/install/usr/bin"strip: Unable to recognise the format of the input file `/xen-unstable.hg/dist/install/usr/bin/qemu-img-xen''> install: strip process terminated abnormallySigned-off-by: Isaku Yamahata <yamahata@valinux.co.jp> --- xen-setup | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/xen-setup b/xen-setup index 7f8768d..88f56dd 100755 --- a/xen-setup +++ b/xen-setup @@ -21,6 +21,13 @@ ln -sf ../Makefile.target $target/Makefile ln -sf ../xen-config.mak $target/config.mak cat xen-config-host.mak >>config-host.mak +# even if --install is specified to configure to set INSTALL, +# "include $(XEN_ROOT)/tools/Rules.mk" overrides INSTALL, so set it again. +echo $@ | grep -q -- --install +if [ $? -eq 0 ]; then + grep INSTALL config-host.mak >>config-host.mak +fi + sed -e ''s,qemu,xen/qemu,'' config-host.h >config-host.h.new echo ''#include "xen-config-host.h"'' >>config-host.h.new -- 1.6.0.rc0.42.g186458 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Seemingly Similar Threads
- [PATCH] [RESEND] xen: portability clean up and some minor clean up for xencomm.c
- [PATCH] xen: compilation fix of drivers/xen/events.c on IA64
- [PATCH] xen-netfront: Avoid unaligned accesses to IP header.
- [PATCH] xen: wrap load_cr3() in manage.c for ia64 support.
- [PATCH] xen: compilation fix fo xen CPU hotplugging.