qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Andreas Färber" <andreas.faerber@web.de>
To: qemu-devel@nongnu.org
Cc: "Andreas Färber" <andreas.faerber@web.de>,
	"Juan Quintela" <quintela@trasno.org>,
	"Avi Kivity" <avi@redhat.com>
Subject: [Qemu-devel] [PATCH] Quickfix for libuser.a drop
Date: Sun, 13 Dec 2009 16:40:25 +0100	[thread overview]
Message-ID: <1260718825-23158-1-git-send-email-andreas.faerber@web.de> (raw)
In-Reply-To: <1260691332-6333-1-git-send-email-andreas.faerber@web.de>

User emulators did not seem to have a $(HWLIB) directory, so don't try
to include config.mak from there in Makefile.target.

libuser.a included some objects of libqemu_common.a, so fix the paths to
the shared files, to avoid file not found errors while linking.

Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Cc: Juan Quintela <quintela@trasno.org>
Cc: Avi Kivity <avi@redhat.com>
---
 Makefile.objs   |    4 ++--
 Makefile.target |    2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/Makefile.objs b/Makefile.objs
index fd69717..045d338 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -119,8 +119,8 @@ common-obj-$(CONFIG_XEN) += xen_console.o xenfb.o xen_disk.o xen_nic.o
 
 user-obj-y =
 user-obj-y += envlist.o path.o
-user-obj-y += tcg-runtime.o host-utils.o
-user-obj-y += cutils.o cache-utils.o
+user-obj-y += $(addprefix ../, tcg-runtime.o host-utils.o)
+user-obj-y += $(addprefix ../, cutils.o cache-utils.o)
 
 ######################################################################
 # libhw
diff --git a/Makefile.target b/Makefile.target
index 22a2f1e..d4bb4d6 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -7,7 +7,9 @@ include ../config-host.mak
 include config-devices.mak
 include config-target.mak
 include $(SRC_PATH)/rules.mak
+ifneq ($(HWDIR),)
 include $(HWDIR)/config.mak
+endif
 
 TARGET_PATH=$(SRC_PATH)/target-$(TARGET_BASE_ARCH)
 VPATH=$(SRC_PATH):$(TARGET_PATH):$(SRC_PATH)/hw
-- 
1.6.5.2

  reply	other threads:[~2009-12-13 15:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-12 19:10 [Qemu-devel] Build fixes for OpenSolaris x86 hosts Andreas Färber
2009-12-12 19:10 ` [Qemu-devel] [PATCH 1/3] tap: Compilation fix for Solaris Andreas Färber
2009-12-12 19:10   ` [Qemu-devel] [PATCH 2/3] Silence softfloat warnings on OpenSolaris Andreas Färber
2009-12-12 19:10     ` [Qemu-devel] [PATCH 3/3] Workaround --whole-archive on Solaris Andreas Färber
     [not found]       ` <m3fx7fzz8v.fsf@neno.neno>
2009-12-12 23:07         ` [Qemu-devel] " Andreas Färber
2009-12-13  8:16           ` Andreas Färber
2009-12-13 10:21           ` Avi Kivity
2009-12-13  8:02         ` [Qemu-devel] [PATCH] Drop --whole-archive and static libraries Andreas Färber
2009-12-13 15:40           ` Andreas Färber [this message]
2009-12-13 15:55             ` [Qemu-devel] [PATCH] Quickfix for libuser.a drop Andreas Färber
2009-12-19 17:32           ` [Qemu-devel] [PATCH] Drop --whole-archive and static libraries Andreas Färber

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=1260718825-23158-1-git-send-email-andreas.faerber@web.de \
    --to=andreas.faerber@web.de \
    --cc=avi@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=quintela@trasno.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).