The libusb package contains a library used by some applications for USB device access.
This package is known to build and work properly using an LFS-8.0 platform.
Download MD5 sum: 1da9ea3c27b3858fa85c5f4466003e44
Download size: 596 KB
Estimated disk space required: 5.7 MB (add 1.5 MB for API documentation)
Estimated build time: less than 0.1 SBU
This package does not support parallel build.
Install libusb by running the following commands:
sed -i "s/^PROJECT_LOGO/#&/" doc/doxygen.cfg.in && ./configure --prefix=/usr --disable-static && make -j1
If Doxygen is installed and you wish to build the API documentation, issue the following command:
make -C doc docs
This package does not come with a test suite.
Now, as the
If you built the API documentation, install it using the following
commands as the
install -v -d -m755 /usr/share/doc/libusb-1.0.21/apidocs && install -v -m644 doc/html/* \ /usr/share/doc/libusb-1.0.21/apidocs
sed -i ...: This sed prevents a warning when building the documentation.
Device Drivers ---> [*] USB support ---> [CONFIG_USB_SUPPORT] <*/M> Support for Host-side USB [CONFIG_USB] (Select any USB hardware device drivers you may need on the same page)
For more details on setting up USB devices, see the section called “USB Device Issues”.
Last updated on 2017-02-15 01:25:58 -0600