From: Jan Kiszka <jan.kiszka@web.de>
To: qemu-devel <qemu-devel@nongnu.org>
Subject: [Qemu-devel] [PATCH] xen: Restrict build to x86 targets
Date: Sun, 28 Nov 2010 16:59:41 +0100 [thread overview]
Message-ID: <4CF27C6D.9000401@web.de> (raw)
From: Jan Kiszka <jan.kiszka@siemens.com>
Xen target bits in qemu are intended for x86. Let the build system
reflect this and avoid useless building/linking for other targets.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
Makefile.objs | 4 ++--
Makefile.target | 4 ++--
configure | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/Makefile.objs b/Makefile.objs
index 13ba26f..eabb032 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -148,8 +148,8 @@ slirp-obj-y += tcp_subr.o tcp_timer.o udp.o bootp.o tftp.o
common-obj-$(CONFIG_SLIRP) += $(addprefix slirp/, $(slirp-obj-y))
# xen backend driver support
-common-obj-$(CONFIG_XEN) += xen_backend.o xen_devconfig.o
-common-obj-$(CONFIG_XEN) += xen_console.o xenfb.o xen_disk.o xen_nic.o
+common-obj-$(CONFIG_XEN_HOST) += xen_backend.o xen_devconfig.o
+common-obj-$(CONFIG_XEN_HOST) += xen_console.o xenfb.o xen_disk.o xen_nic.o
######################################################################
# libuser
diff --git a/Makefile.target b/Makefile.target
index 5784844..0863d5c 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -203,8 +203,8 @@ QEMU_CFLAGS += $(VNC_SASL_CFLAGS)
QEMU_CFLAGS += $(VNC_JPEG_CFLAGS)
QEMU_CFLAGS += $(VNC_PNG_CFLAGS)
-# xen backend driver support
-obj-$(CONFIG_XEN) += xen_machine_pv.o xen_domainbuild.o
+# xen target support
+obj-$(CONFIG_XEN_TARGET) += xen_machine_pv.o xen_domainbuild.o
# USB layer
obj-$(CONFIG_USB_OHCI) += usb-ohci.o
diff --git a/configure b/configure
index 2917874..3dd252a 100755
--- a/configure
+++ b/configure
@@ -2565,7 +2565,7 @@ if test "$bluez" = "yes" ; then
echo "BLUEZ_CFLAGS=$bluez_cflags" >> $config_host_mak
fi
if test "$xen" = "yes" ; then
- echo "CONFIG_XEN=y" >> $config_host_mak
+ echo "CONFIG_XEN_HOST=y" >> $config_host_mak
fi
if test "$io_thread" = "yes" ; then
echo "CONFIG_IOTHREAD=y" >> $config_host_mak
@@ -2903,7 +2903,7 @@ echo "TARGET_ABI_DIR=$TARGET_ABI_DIR" >> $config_target_mak
case "$target_arch2" in
i386|x86_64)
if test "$xen" = "yes" -a "$target_softmmu" = "yes" ; then
- echo "CONFIG_XEN=y" >> $config_target_mak
+ echo "CONFIG_XEN_TARGET=y" >> $config_target_mak
fi
esac
case "$target_arch2" in
--
1.7.1
next reply other threads:[~2010-11-28 16:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-28 15:59 Jan Kiszka [this message]
2010-11-29 12:24 ` [Qemu-devel] [PATCH] xen: Restrict build to x86 targets Alexander Graf
2010-11-29 12:30 ` Jan Kiszka
2010-11-29 12:40 ` Alexander Graf
2010-11-29 12:44 ` Jan Kiszka
2010-11-29 14:15 ` Alexander Graf
2010-11-29 14:27 ` Jan Kiszka
2010-11-29 14:32 ` Alexander Graf
2010-12-01 10:21 ` Anthony PERARD
2010-12-01 10:25 ` Alexander Graf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CF27C6D.9000401@web.de \
--to=jan.kiszka@web.de \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.