Revision 8a090705 Makefile.target

b/Makefile.target
83 83
QEMU_CFLAGS+=-I$(SRC_PATH)/linux-user/$(TARGET_ABI_DIR) -I$(SRC_PATH)/linux-user
84 84

  
85 85
obj-y += linux-user/
86
obj-y += gdbstub.o thunk.o user-exec.o $(util-obj-y)
86
obj-y += gdbstub.o thunk.o user-exec.o
87 87

  
88 88
endif #CONFIG_LINUX_USER
89 89

  
......
95 95
QEMU_CFLAGS+=-I$(SRC_PATH)/bsd-user -I$(SRC_PATH)/bsd-user/$(TARGET_ARCH)
96 96

  
97 97
obj-y += bsd-user/
98
obj-y += gdbstub.o user-exec.o $(util-obj-y)
98
obj-y += gdbstub.o user-exec.o
99 99

  
100 100
endif #CONFIG_BSD_USER
101 101

  
......
155 155

  
156 156
ifdef QEMU_PROGW
157 157
# The linker builds a windows executable. Make also a console executable.
158
$(QEMU_PROGW): $(all-obj-y) ../libqemustub.a
158
$(QEMU_PROGW): $(all-obj-y) ../libqemuutil.a ../libqemustub.a
159 159
	$(call LINK,$^)
160 160
$(QEMU_PROG): $(QEMU_PROGW)
161 161
	$(call quiet-command,$(OBJCOPY) --subsystem console $(QEMU_PROGW) $(QEMU_PROG),"  GEN   $(TARGET_DIR)$(QEMU_PROG)")
162 162
else
163
$(QEMU_PROG): $(all-obj-y) ../libqemustub.a
163
$(QEMU_PROG): $(all-obj-y) ../libqemuutil.a ../libqemustub.a
164 164
	$(call LINK,$^)
165 165
endif
166 166

  

Also available in: Unified diff