DM USB: involve the libusb

This patch involves the libusb to communicate with the SOS USB kernel
stack, and the README.rst is also updated for this purpose.

The libusb is under GNU Lesser General Public License version 2.1.

Change-Id: Ieecd08f41993162115e8e588980b81b769c89a37
Signed-off-by: Wu, Xiaoguang <xiaoguang.wu@intel.com>
Reviewed-by: Shuo Liu <shuo.a.liu@intel.com>
Reviewed-by: Yu Wang <yu1.wang@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Wu, Xiaoguang 2018-04-14 11:22:07 +08:00 committed by lijinxia
parent 8f3f66bae5
commit 51f7633f82
2 changed files with 9 additions and 4 deletions

View File

@ -48,6 +48,7 @@ LIBS += -lcrypto
LIBS += -lpciaccess
LIBS += -lz
LIBS += -luuid
LIBS += -lusb-1.0
# hw
SRCS += hw/block_if.c

View File

@ -26,7 +26,8 @@ Build dependencies
sudo yum install gcc \
libuuid-devel \
openssl-devel \
libpciaccess-devel
libpciaccess-devel \
libusb-devel
* For Fedora 27
@ -35,7 +36,8 @@ Build dependencies
sudo dnf install gcc \
libuuid-devel \
openssl-devel \
libpciaccess-devel
libpciaccess-devel \
libusb-devel
Build
*****
@ -61,7 +63,8 @@ Runtime dependencies
sudo yum install openssl-libs \
zlib \
libpciaccess \
libuuid
libuuid \
libusb
* On Fedora 27
@ -70,7 +73,8 @@ Runtime dependencies
sudo dnf install openssl-libs \
zlib \
libpciaccess \
libuuid
libuuid \
libusb
.. _`ACRN Hypervisor`: https://github.com/projectacrn/acrn-hypervisor
.. _`Project ACRN documentation`: https://projectacrn.github.io/