mirror of https://gitee.com/openkylin/qemu.git
Consolidate library creation (Avi Kivity)
Put archive utility (ar) invocations into a rule, and have it generate quiet output by default. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6381 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
4f188f8887
commit
93a0dba7ea
4
Makefile
4
Makefile
|
@ -174,16 +174,12 @@ curses.o: curses.c keymaps.c curses_keys.h
|
|||
bt-host.o: CFLAGS += $(CONFIG_BLUEZ_CFLAGS)
|
||||
|
||||
libqemu_common.a: $(OBJS)
|
||||
rm -f $@
|
||||
$(AR) rcs $@ $(OBJS)
|
||||
|
||||
#######################################################################
|
||||
# USER_OBJS is code used by qemu userspace emulation
|
||||
USER_OBJS=cutils.o cache-utils.o
|
||||
|
||||
libqemu_user.a: $(USER_OBJS)
|
||||
rm -f $@
|
||||
$(AR) rcs $@ $(USER_OBJS)
|
||||
|
||||
######################################################################
|
||||
|
||||
|
|
|
@ -211,8 +211,6 @@ endif
|
|||
# libqemu
|
||||
|
||||
libqemu.a: $(LIBOBJS)
|
||||
rm -f $@
|
||||
$(AR) rcs $@ $(LIBOBJS)
|
||||
|
||||
translate.o: translate.c cpu.h
|
||||
|
||||
|
|
Loading…
Reference in New Issue