Commit Graph

14 Commits

Author SHA1 Message Date
Yoann Congal f50f9a9cac libusb-compat: RDEPENDS on libusb1
libusb-compat dlopen() libusb1 so we need to explicitly RDEPENDS on it.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Ever ATILANO <ever.atilano@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-28 08:50:56 -08:00
Yoann Congal 66b471ec10 libusb-compat: add simple ptest (example programs)
Build and run example programs as test. This will only catch major
errors (.so lib won't load etc.) because no output check is done, only
return status is checked.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Ever ATILANO <ever.atilano@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-28 08:50:56 -08:00
Yoann Congal 933885520a libusb-compat: upgrade sources to fix -native build
Fixes [YOCTO #15032] by upgrading the source to a commit including the
fix : change SONAME detection source from ldd to objdump

ldd detects used libraries by partially running the target binary. This
is a problem for when the target binary is not runnable
(e.g. cross-compilation).

Switch to objdump which only reads info from the ELF file without
running anything from it.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Ever ATILANO <ever.atilano@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-28 08:50:56 -08:00
Yoann Congal 46ff77d3a0 libusb-compat: Revert "libusb-compat: move libraries to base_libdir"
Revert commit ed937940f54d1a376b518fc276da78811c4ac50b from oe-core:
    libusb-compat: move libraries to base_libdir
    udev links to libusb-compat, and so this library needs to be in
    base_libdir (/lib) instead of libdir (/usr/lib).

The libdir=base_libdir configuration was needed for udev but it's not
the case anymore. Remove it to simplify the recipe.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Ever ATILANO <ever.atilano@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-28 08:50:56 -08:00
Wang Mingyu 5ce46719bc libusb-compat: upgrade 0.1.7 -> 0.1.8
0001-usb.h-Include-sys-types.h.patch
refreshed for new version

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-18 13:19:36 -08:00
Khem Raj 14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Richard Purdie b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Martin Jansa c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Andreas Müller d08c66bc81 libusb-compat: upgrade 0.1.5 -> 0.1.7
They moved to github

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-14 22:24:17 -07:00
Ross Burton d00b7bd416 libusb-compat: add (from oe-core)
This is being removed from oe-core, so add to meta-oe as some recipes still
claim to need it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-27 19:26:51 -07:00
Martin Jansa cb9a2c734d libusb*: remove native support, was moved to oe-core
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-04-26 13:50:24 +02:00
Martin Jansa 3019cab01a libusb1: add native and nativesdk BBCLASSEXTEND
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-04-18 12:28:53 +02:00
Martin Jansa e66079da37 libusb-compat: add native, nativesdk to BBCLASSEXTEND and define native PROVIDES
* virtual/libusb0-native is used in usbpath-native

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2011-04-10 14:43:41 +02:00
Koen Kooi c58cc7d379 move layer into meta-oe in preparation for future splits
As per TSC decision

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-03-17 21:41:22 +01:00