diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2011-08-04 16:45:17 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-08-04 16:45:17 -0500 |
commit | 47bf05d7eb550905c635724ce72f855fb4e10b3d (patch) | |
tree | 31434e7500bea51fe188091ee6b5f4bbd5b8c212 /Makefile.objs | |
parent | d138cee907b36f217ad030fb2c75c027b7d5731b (diff) | |
parent | e7a8a7837a964e0fe327e6ef8dde02c6a53dd14a (diff) |
Merge remote-tracking branch 'kwolf/for-anthony' into staging
Diffstat (limited to 'Makefile.objs')
-rw-r--r-- | Makefile.objs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile.objs b/Makefile.objs index 6991a9f52a..89ca3611b3 100644 --- a/Makefile.objs +++ b/Makefile.objs @@ -11,10 +11,21 @@ oslib-obj-$(CONFIG_WIN32) += oslib-win32.o qemu-thread-win32.o oslib-obj-$(CONFIG_POSIX) += oslib-posix.o qemu-thread-posix.o ####################################################################### +# coroutines +coroutine-obj-y = qemu-coroutine.o qemu-coroutine-lock.o +ifeq ($(CONFIG_UCONTEXT_COROUTINE),y) +coroutine-obj-$(CONFIG_POSIX) += coroutine-ucontext.o +else +coroutine-obj-$(CONFIG_POSIX) += coroutine-gthread.o +endif +coroutine-obj-$(CONFIG_WIN32) += coroutine-win32.o + +####################################################################### # block-obj-y is code used by both qemu system emulation and qemu-img block-obj-y = cutils.o cache-utils.o qemu-malloc.o qemu-option.o module.o async.o block-obj-y += nbd.o block.o aio.o aes.o qemu-config.o qemu-progress.o qemu-sockets.o +block-obj-y += $(coroutine-obj-y) block-obj-$(CONFIG_POSIX) += posix-aio-compat.o block-obj-$(CONFIG_LINUX_AIO) += linux-aio.o |