Revision 0fc6b582
b/Makefile.target | ||
---|---|---|
387 | 387 |
endif # CONFIG_SOFTMMU |
388 | 388 |
|
389 | 389 |
ifndef CONFIG_LINUX_USER |
390 |
ifndef CONFIG_BSD_USER |
|
390 | 391 |
# libcacard needs qemu-thread support, and besides is only needed by devices |
391 |
# so not requires with linux-user targets |
|
392 |
# so not requires with linux-user / bsd-user targets
|
|
392 | 393 |
obj-$(CONFIG_SMARTCARD_NSS) += $(addprefix ../libcacard/, $(libcacard-y)) |
394 |
endif # CONFIG_BSD_USER |
|
393 | 395 |
endif # CONFIG_LINUX_USER |
394 | 396 |
|
395 | 397 |
obj-y += $(addprefix ../, $(trace-obj-y)) |
b/libcacard/Makefile | ||
---|---|---|
20 | 20 |
libcacard.lib-y=$(addsuffix .lo,$(basename $(libcacard-y))) |
21 | 21 |
|
22 | 22 |
vscclient: $(libcacard-y) $(QEMU_OBJS) vscclient.o |
23 |
$(call quiet-command,$(CC) -o $@ $^ $(libcacard_libs) $(LIBS) -lrt," LINK $@")
|
|
23 |
$(call quiet-command,$(CC) -o $@ $^ $(libcacard_libs) $(LIBS)," LINK $@") |
|
24 | 24 |
|
25 | 25 |
clean: |
26 | 26 |
rm -f *.o */*.o *.d */*.d *.a */*.a *~ */*~ vscclient *.lo .libs/* *.la *.pc |
... | ... | |
39 | 39 |
@echo "libtool is missing, please install and rerun configure"; exit 1 |
40 | 40 |
else |
41 | 41 |
libcacard.la: $(libcacard.lib-y) $(QEMU_OBJS_LIB) |
42 |
$(call quiet-command,$(LIBTOOL) --mode=link --quiet --tag=CC $(CC) -rpath $(libdir) -o $@ $^ $(libcacard_libs) -lrt," lt LINK $@")
|
|
42 |
$(call quiet-command,$(LIBTOOL) --mode=link --quiet --tag=CC $(CC) -rpath $(libdir) -o $@ $^ $(libcacard_libs)," lt LINK $@") |
|
43 | 43 |
|
44 | 44 |
libcacard.pc: $(libcacard_srcpath)/libcacard.pc.in |
45 | 45 |
sed -e 's|@LIBDIR@|$(libdir)|' \ |
Also available in: Unified diff