diff options
author | Alex Barcelo <abarcelo@ac.upc.edu> | 2012-02-28 12:25:51 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-03-12 15:14:07 +0100 |
commit | fe91bfa8a26832cc07a6b74b8decfb687499caee (patch) | |
tree | 67aa17b19d543fe799ae04b329ee686550669bec /Makefile.objs | |
parent | 519175a2fdfd3766f99bc29f0b199e23d57a3dd2 (diff) | |
download | qemu-fe91bfa8a26832cc07a6b74b8decfb687499caee.zip qemu-fe91bfa8a26832cc07a6b74b8decfb687499caee.tar.gz qemu-fe91bfa8a26832cc07a6b74b8decfb687499caee.tar.bz2 |
coroutine: adding configure option for sigaltstack coroutine backend
It's possible to use sigaltstack backend with --with-coroutine=sigaltstack
v2: changed from enable/disable configure flags
Signed-off-by: Alex Barcelo <abarcelo@ac.upc.edu>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'Makefile.objs')
-rw-r--r-- | Makefile.objs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.objs b/Makefile.objs index b39d76c..5f0b3f7 100644 --- a/Makefile.objs +++ b/Makefile.objs @@ -17,8 +17,12 @@ coroutine-obj-y += qemu-coroutine-sleep.o ifeq ($(CONFIG_UCONTEXT_COROUTINE),y) coroutine-obj-$(CONFIG_POSIX) += coroutine-ucontext.o else +ifeq ($(CONFIG_SIGALTSTACK_COROUTINE),y) +coroutine-obj-$(CONFIG_POSIX) += coroutine-sigaltstack.o +else coroutine-obj-$(CONFIG_POSIX) += coroutine-gthread.o endif +endif coroutine-obj-$(CONFIG_WIN32) += coroutine-win32.o ####################################################################### |