mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-22 08:52:29 -09:00
Since hidapi was introduced in commit6267f34afd, it forgot to propagate some dependencies of libgudev (which existed back then). Initially libgudev was only needed when BR2_INIT_SYSTEMD=y, but still the dependencies were not propagated for the systemd case. Anyway, sincee739dd5a11, libgudev is a mandatory dependency of hidapi, independently from the selected init system. We make sure to propagate all dependencies of libgudev to hidapi, and propagate them to the reverse dependencies of hidapi. Fixes:6267f34afd("hidapi: new package") Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Julien Olivain <ju.o@free.fr> (cherry picked from commit74def2cdd4) Signed-off-by: Thomas Perale <thomas.perale@mind.be>
23 lines
836 B
Plaintext
23 lines
836 B
Plaintext
config BR2_PACKAGE_LIBMANETTE
|
|
bool "libmanette"
|
|
depends on BR2_USE_MMU # libglib2, hidapi
|
|
depends on BR2_USE_WCHAR # libglib2, hidapi
|
|
depends on BR2_PACKAGE_HAS_UDEV # hidapi
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # hidapi
|
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # hidapi -> libusb
|
|
select BR2_PACKAGE_HIDAPI
|
|
select BR2_PACKAGE_LIBEVDEV
|
|
select BR2_PACKAGE_LIBGLIB2
|
|
help
|
|
GObject library which provides access to game controllers.
|
|
|
|
https://gitlab.gnome.org/GNOME/libmanette
|
|
|
|
comment "libmanette needs a toolchain w/ wchar, NPTL threads, gcc >= 4.9, headers >= 4.16, udev"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \
|
|
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16 || \
|
|
!BR2_PACKAGE_HAS_UDEV
|