qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
To: Anthony Liguori <aliguori@us.ibm.com>
Cc: qemu-trivial@nongnu.org, Paolo Bonzini <pbonzini@redhat.com>,
	qemu-devel@nongnu.org,
	Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Subject: [Qemu-devel] [PATCH 23/24] libcacard: add correct subdirectory dependencies
Date: Sun,  8 May 2011 17:05:18 +0100	[thread overview]
Message-ID: <1304870719-20885-24-git-send-email-stefanha@linux.vnet.ibm.com> (raw)
In-Reply-To: <1304870719-20885-1-git-send-email-stefanha@linux.vnet.ibm.com>

From: Paolo Bonzini <pbonzini@redhat.com>

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Cc: qemu-trivial@nongnu.org
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
---
 Makefile           |    2 ++
 Makefile.objs      |    7 +++----
 libcacard/Makefile |    9 +--------
 3 files changed, 6 insertions(+), 12 deletions(-)

diff --git a/Makefile b/Makefile
index 67c0268..2b0438c 100644
--- a/Makefile
+++ b/Makefile
@@ -88,6 +88,8 @@ include $(SRC_PATH)/Makefile.objs
 endif
 
 $(common-obj-y): $(GENERATED_HEADERS)
+subdir-libcacard: $(oslib-obj-y) $(trace-obj-y) qemu-malloc.o qemu-timer-common.o
+
 $(filter %-softmmu,$(SUBDIR_RULES)): $(trace-obj-y) $(common-obj-y) subdir-libdis
 
 $(filter %-user,$(SUBDIR_RULES)): $(GENERATED_HEADERS) $(trace-obj-y) subdir-libdis-user subdir-libuser
diff --git a/Makefile.objs b/Makefile.objs
index d82c60d..4478c61 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -7,8 +7,8 @@ qobject-obj-y += qerror.o
 #######################################################################
 # oslib-obj-y is code depending on the OS (win32 vs posix)
 oslib-obj-y = osdep.o
-oslib-obj-$(CONFIG_WIN32) += oslib-win32.o
-oslib-obj-$(CONFIG_POSIX) += oslib-posix.o
+oslib-obj-$(CONFIG_WIN32) += oslib-win32.o qemu-thread-win32.o
+oslib-obj-$(CONFIG_POSIX) += oslib-posix.o qemu-thread-posix.o
 
 #######################################################################
 # block-obj-y is code used by both qemu system emulation and qemu-img
@@ -143,8 +143,7 @@ common-obj-y += $(addprefix ui/, $(ui-obj-y))
 common-obj-$(CONFIG_VNC) += $(addprefix ui/, $(vnc-obj-y))
 
 common-obj-y += iov.o acl.o
-common-obj-$(CONFIG_POSIX) += qemu-thread-posix.o compatfd.o
-common-obj-$(CONFIG_WIN32) += qemu-thread-win32.o
+common-obj-$(CONFIG_POSIX) += compatfd.o
 common-obj-y += notify.o event_notifier.o
 common-obj-y += qemu-timer.o qemu-timer-common.o
 
diff --git a/libcacard/Makefile b/libcacard/Makefile
index 4010029..1d34df0 100644
--- a/libcacard/Makefile
+++ b/libcacard/Makefile
@@ -4,14 +4,7 @@
 
 $(call set-vpath, $(SRC_PATH):$(SRC_PATH)/libcacard)
 
-ifeq ($(CONFIG_WIN32),y)
-QEMU_THREAD=qemu-thread-win32.o
-else
-QEMU_THREAD=qemu-thread-posix.o
-endif
-
-
-QEMU_OBJS=$(addprefix ../, $(QEMU_THREAD) $(oslib-obj-y) $(trace-obj-y) qemu-malloc.o qemu-timer-common.o)
+QEMU_OBJS=$(addprefix ../, $(oslib-obj-y) $(trace-obj-y) qemu-malloc.o qemu-timer-common.o)
 
 QEMU_CFLAGS+=-I../
 
-- 
1.7.4.4

  parent reply	other threads:[~2011-05-08 16:06 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-08 16:04 [Qemu-devel] [PULL] Trivial patches for April 26 to May 8 2011 Stefan Hajnoczi
2011-05-08 16:04 ` [Qemu-devel] [PATCH 01/24] Fix typo in code and comments Stefan Hajnoczi
2011-05-08 16:04 ` [Qemu-devel] [PATCH 02/24] Fix typos in comments (dependancy -> dependency) Stefan Hajnoczi
2011-05-08 16:04 ` [Qemu-devel] [PATCH 03/24] Fix typos in comments (accross -> across) Stefan Hajnoczi
2011-05-08 16:04 ` [Qemu-devel] [PATCH 04/24] Fix typos in comments (accessable -> accessible, priveleged -> privileged) Stefan Hajnoczi
2011-05-08 16:05 ` [Qemu-devel] [PATCH 05/24] Fix typo in comment (colum -> column) Stefan Hajnoczi
2011-05-08 16:05 ` [Qemu-devel] [PATCH 06/24] Fix typo in comment (auxilliary -> auxiliary) Stefan Hajnoczi
2011-05-08 16:05 ` [Qemu-devel] [PATCH 07/24] Fix typo in comment (embeded -> embedded) Stefan Hajnoczi
2011-05-08 16:05 ` [Qemu-devel] [PATCH 08/24] Fix typo in comment (consistant -> consistent) Stefan Hajnoczi
2011-05-08 16:05 ` [Qemu-devel] [PATCH 09/24] Fix typo in comment (dieing -> dying) Stefan Hajnoczi
2011-05-08 16:05 ` [Qemu-devel] [PATCH 10/24] Fix typos in comments (imediately -> immediately) Stefan Hajnoczi
2011-05-08 16:05 ` [Qemu-devel] [PATCH 11/24] Fix typos in comments (existance -> existence) Stefan Hajnoczi
2011-05-08 16:05 ` [Qemu-devel] [PATCH 12/24] Fix typos in comments (interupt -> interrupt) Stefan Hajnoczi
2011-05-08 16:05 ` [Qemu-devel] [PATCH 13/24] Fix typos in comments (instanciation -> instantiation) Stefan Hajnoczi
2011-05-08 16:05 ` [Qemu-devel] [PATCH 14/24] Fix typos in comments (neccessary -> necessary) Stefan Hajnoczi
2011-05-08 16:05 ` [Qemu-devel] [PATCH 15/24] Fix typos in comments and code (occured -> occurred and related) Stefan Hajnoczi
2011-05-08 16:05 ` [Qemu-devel] [PATCH 16/24] Fix typo in comment (relevent -> relevant) Stefan Hajnoczi
2011-05-08 16:05 ` [Qemu-devel] [PATCH 17/24] Fix typo in comment (responsiblity -> responsibility) Stefan Hajnoczi
2011-05-08 16:05 ` [Qemu-devel] [PATCH 18/24] Fix typo in comment (truely -> truly) Stefan Hajnoczi
2011-05-08 16:05 ` [Qemu-devel] [PATCH 19/24] Fix typos in comment (threshhold -> threshold, mapp -> map) Stefan Hajnoczi
2011-05-08 16:05 ` [Qemu-devel] [PATCH 20/24] ac97: Remove unused local variables Stefan Hajnoczi
2011-05-08 16:05 ` [Qemu-devel] [PATCH 21/24] Fix spelling in comments (intruction -> instruction) Stefan Hajnoczi
2011-05-08 16:05 ` [Qemu-devel] [PATCH 22/24] linux-user: Replace deprecated function Stefan Hajnoczi
2011-05-08 16:05 ` Stefan Hajnoczi [this message]
2011-05-08 16:05 ` [Qemu-devel] [PATCH 24/24] lsi53c895a: Rename 'sense' to 'status' Stefan Hajnoczi
2011-05-12 12:57 ` [Qemu-devel] [PULL] Trivial patches for April 26 to May 8 2011 Paolo Bonzini
2011-05-12 13:34 ` Anthony Liguori

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=1304870719-20885-24-git-send-email-stefanha@linux.vnet.ibm.com \
    --to=stefanha@linux.vnet.ibm.com \
    --cc=aliguori@us.ibm.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@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 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).