]> git.proxmox.com Git - mirror_qemu.git/blobdiff - Makefile.user
Drop --whole-archive and static libraries
[mirror_qemu.git] / Makefile.user
index 7daedeff6d89dc033caf491b3db47e03410838d2..c6ac50940a9db41162ce9e9c66163b28d4d2d159 100644 (file)
@@ -14,17 +14,12 @@ vpath %.c %.h $(SRC_PATH)
 
 QEMU_CFLAGS+=-I..
 
-obj-y =
-obj-y += envlist.o path.o
-obj-y += tcg-runtime.o host-utils.o
-obj-y += cutils.o cache-utils.o
+include $(SRC_PATH)/Makefile.objs
 
-all: libuser.a
+all: $(user-obj-y)
 # Dummy command so that make thinks it has done something
        @true
 
-libuser.a: $(obj-y)
-
 clean:
        rm -f *.o *.d *.a *~