交叉编译libusb,pcsc-lite,ccid

sudo mkdir /usr/ccid
./configure CC=/home/lbl/ti-dvsdk_omapl138-evm_04_03_00_06/linux-devkit/bin/arm-arago-linux-gnueabi-gcc --host=arm-arago-linux prefix=/usr/ccid --disable-udev
make
sudo make install
./configure CC=/home/lbl/ti-dvsdk_omapl138-evm_04_03_00_06/linux-devkit/bin/arm-arago-linux-gnueabi-gcc --host=arm-arago-linux prefix=/usr/ccid --enable-libusb LIBUSB_LIBS="-L/usr/ccid/lib -lusb-1.0" LIBUSB_CFLAGS="-I/usr/ccid/include/libusb-1.0" --enable-static --disable-libudev
make
sudo make install
./configure CC=/home/lbl/ti-dvsdk_omapl138-evm_04_03_00_06/linux-devkit/bin/arm-arago-linux-gnueabi-gcc --host=arm-arago-linux prefix=/usr/ccid --enable-libusb LIBUSB_LIBS="-L/usr/ccid/lib -lusb-1.0" LIBUSB_CFLAGS="-I/usr/ccid/include/libusb-1.0" PCSC_CFLAGS="-I/usr/ccid/include/PCSC" PCSC_LIBS="-L/usr/ccid/lib/ -lpcsclite" --enable-usbdropdir="/usr/ccid/lib/pcsc/drivers" --enable-static
make
sudo make install


你可能感兴趣的:(交叉编译libusb,pcsc-lite,ccid)