Separated bitbake recipes. vscarchitecture.bb simply collects the other recipes now.

git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@6 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
frankmorgner
2010-01-04 19:48:44 +00:00
parent a1efb89996
commit 4c091b4340
4 changed files with 5 additions and 77 deletions

View File

@@ -1,32 +0,0 @@
DESCRIPTION = "Virtual Smartcard with PCSC Driver and CCID to PCSC Gadget"
LICENSE = "GPL"
DEPENDS = "pcsc-lite linux-libc-headers"
RDEPENDS = "pcsc-lite kernel-module-gadgetfs"
SRC_URI = "svn://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard;module=ccid;proto=https;rev=1"
S = "${WORKDIR}"
LIBPCSCLITE_CFLAGS = -I${STAGING_INCDIR}/PCSC -lpcsclite
PTHREAD_CFLAGS = -pthread
# FIXME: let openmoko set the right STAGING_KERNEL_DIR
STAGING_KERNEL_DIR = ${STAGING_DIR}/${MACHINE}-angstrom-${TARGET_OS}/kernel
GADGETFS_CFLAGS = -I${STAGING_KERNEL_DIR}/include
INSTALL = install
INSTALL_PROGRAM = ${INSTALL}
FILES_${PN} = "\
${bindir}/* \
"
do_compile() {
${CC} ${S}/ccid/ccid.c ${S}/ccid/usbstring.c -o ${S}/ccid/ccid \
${LIBPCSCLITE_CFLAGS} ${GADGETFS_CFLAGS} ${PTHREAD_CFLAGS} ${CFLAGS}
}
do_install() {
${INSTALL} -d ${D}${bindir}
${INSTALL_PROGRAM} ${S}/ccid/ccid ${D}${bindir}
}