mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
Split block-raw.c into block-raw-posix.c and block-raw-win32.c, by
Anthony Liguori. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3814 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
@@ -119,9 +119,16 @@ libqemu_common.a: $(OBJS)
|
||||
rm -f $@
|
||||
$(AR) rcs $@ $(OBJS)
|
||||
|
||||
QEMU_IMG_BLOCK_OBJS = $(BLOCK_OBJS)
|
||||
ifdef CONFIG_WIN32
|
||||
QEMU_IMG_BLOCK_OBJS += qemu-img-block-raw-win32.o
|
||||
else
|
||||
QEMU_IMG_BLOCK_OBJS += qemu-img-block-raw-posix.o
|
||||
endif
|
||||
|
||||
######################################################################
|
||||
|
||||
qemu-img$(EXESUF): qemu-img.o qemu-img-block.o qemu-img-block-raw.o $(BLOCK_OBJS)
|
||||
qemu-img$(EXESUF): qemu-img.o qemu-img-block.o $(QEMU_IMG_BLOCK_OBJS)
|
||||
$(CC) $(LDFLAGS) $(BASE_LDFLAGS) -o $@ $^ -lz $(LIBS)
|
||||
|
||||
qemu-img-%.o: %.c
|
||||
|
||||
+5
-1
@@ -398,7 +398,11 @@ endif
|
||||
# must use static linking to avoid leaving stuff in virtual address space
|
||||
VL_OBJS=vl.o osdep.o monitor.o pci.o loader.o isa_mmio.o
|
||||
# XXX: suppress QEMU_TOOL tests
|
||||
VL_OBJS+=block-raw.o
|
||||
ifdef CONFIG_WIN32
|
||||
VL_OBJS+=block-raw-win32.o
|
||||
else
|
||||
VL_OBJS+=block-raw-posix.o
|
||||
endif
|
||||
|
||||
ifdef CONFIG_ALSA
|
||||
LIBS += -lasound
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user