diff options
author | Juan Quintela | 2009-07-27 16:13:08 +0200 |
---|---|---|
committer | Anthony Liguori | 2009-07-27 21:09:21 +0200 |
commit | eeb6d45bfe2839a246da1e7e94a3d5c58c05cd09 (patch) | |
tree | 57ffd0178e7948a9b7388c3ada1b6d7728eb2e92 /Makefile | |
parent | Add CONFIG_POSIX (diff) | |
download | qemu-eeb6d45bfe2839a246da1e7e94a3d5c58c05cd09.tar.gz qemu-eeb6d45bfe2839a246da1e7e94a3d5c58c05cd09.tar.xz qemu-eeb6d45bfe2839a246da1e7e94a3d5c58c05cd09.zip |
Use CONFIG_POSIX to simplify Makefile
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 21 |
1 files changed, 5 insertions, 16 deletions
@@ -62,21 +62,13 @@ recurse-all: $(SUBDIR_RULES) block-obj-y = cutils.o cache-utils.o qemu-malloc.o qemu-option.o module.o block-obj-y += nbd.o block.o aio.o aes.o +block-obj-$(CONFIG_AIO) += posix-aio-compat.o block-nested-y += cow.o qcow.o vmdk.o cloop.o dmg.o bochs.o vpc.o vvfat.o block-nested-y += qcow2.o qcow2-refcount.o qcow2-cluster.o qcow2-snapshot.o block-nested-y += parallels.o nbd.o - - -ifdef CONFIG_WIN32 -block-nested-y += raw-win32.o -else -ifdef CONFIG_AIO -block-obj-y += posix-aio-compat.o -endif -block-nested-y += raw-posix.o -endif - +block-nested-$(CONFIG_WIN32) += raw-win32.o +block-nested-$(CONFIG_POSIX) += raw-posix.o block-nested-$(CONFIG_CURL) += curl.o block-obj-y += $(addprefix block/, $(block-nested-y)) @@ -112,11 +104,8 @@ ifdef CONFIG_BRLAPI LIBS+=-lbrlapi endif -ifdef CONFIG_WIN32 -obj-y += tap-win32.o -else -obj-y += migration-exec.o -endif +obj-$(CONFIG_WIN32) += tap-win32.o +obj-$(CONFIG_POSIX) += migration-exec.o ifdef CONFIG_COREAUDIO AUDIO_PT = y |