rtl-sdr: replaced libusbx with libusb.

This commit is contained in:
Ricardo Martins 2015-09-28 10:53:56 +01:00
parent d1ab406c20
commit 2d624a72f3

View File

@ -15,7 +15,7 @@ md5=\
requires=\ requires=\
( (
'libusbx' 'libusb'
'libusb-compat' 'libusb-compat'
) )
@ -48,7 +48,7 @@ host_install()
target_install() target_install()
{ {
# Libs: # Libs:
for f in "$cfg_dir_toolchain_sysroot/usr/lib/"librtlsdr*.so*; do for f in "$cfg_dir_toolchain_sysroot/usr/lib/"librtlsdr*.so*; do
if [ -L "$f" ]; then if [ -L "$f" ]; then
$cmd_cp "$f" "$cfg_dir_rootfs/usr/lib" $cmd_cp "$f" "$cfg_dir_rootfs/usr/lib"
@ -57,7 +57,7 @@ target_install()
fi fi
done done
# Bins: # Bins:
for f in "$cfg_dir_toolchain_sysroot/usr/bin/"rtl_*; do for f in "$cfg_dir_toolchain_sysroot/usr/bin/"rtl_*; do
if [ -L "$f" ]; then if [ -L "$f" ]; then
$cmd_cp "$f" "$cfg_dir_rootfs/usr/bin" $cmd_cp "$f" "$cfg_dir_rootfs/usr/bin"
@ -69,4 +69,3 @@ target_install()
} }