qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v21 00/11] usb-ccid


From: Alon Levy
Subject: Re: [Qemu-devel] [PATCH v21 00/11] usb-ccid
Date: Mon, 21 Mar 2011 14:24:59 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, Mar 21, 2011 at 11:33:57AM +0000, Stefan Hajnoczi wrote:
> On Thu, Mar 17, 2011 at 2:49 PM, Alon Levy <address@hidden> wrote:
> > This patchset adds three new devices, usb-ccid, ccid-card-passthru and
> > ccid-card-emulated, providing a CCID bus, a simple passthru protocol
> > implementing card requiring a client, and a standalone emulated card.
> >
> > It also introduces a new directory libcaccard with CAC card emulation,
> > CAC is a type of ISO 7816 smart card.
> 
> I just build tested this patchset and got:
> $ make distclean
> $ ./configure --prefix=/usr --target-list=x86_64-softmmu
> --enable-io-thread  --disable-strip
> $ make
>   CC    x86_64-softmmu/../libcacard/vcard_emul_nss.o
> ../libcacard/vcard_emul_nss.c:23:21: fatal error: pk11pub.h: No such
> file or directory
> compilation terminated.
> make[1]: *** [../libcacard/vcard_emul_nss.o] Error 1
> make: *** [subdir-x86_64-softmmu] Error 2
> 
> It seems the smartcard ./configure check needs to be stricter in
> checking for the presence of build dependencies.
> 
> Stefan
> 

Thanks, this should fix it:

diff --git a/Makefile.target b/Makefile.target
index baa5c3f..fef56b4 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -350,7 +350,7 @@ obj-y += $(addprefix $(HWDIR)/, $(hw-obj-y))
 
 endif # CONFIG_SOFTMMU
 
-obj-y += $(addprefix ../libcacard/, $(libcacard-$(CONFIG_SMARTCARD)))
+obj-y += $(addprefix ../libcacard/, $(libcacard-$(CONFIG_SMARTCARD_NSS)))
 
 obj-y += $(addprefix ../, $(trace-obj-y))
 obj-$(CONFIG_GDBSTUB_XML) += gdbstub-xml.o



reply via email to

[Prev in Thread] Current Thread [Next in Thread]