diff options
author | Dan Walkes <danwalkes@trellis-logic.com> | 2018-06-17 17:51:53 +0000 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-06-26 23:33:51 +0200 |
commit | a7404a79c6355343253353ba9fdd0d227e638df5 (patch) | |
tree | 5c232eab6d157ffb6772e2197a1e6496de36253f /package/qt5/qt5script/0001-Detect-32-bits-armv8-a-architecture.patch | |
parent | 04bdded6ffac100aed7e27d87482682693213a21 (diff) | |
download | buildroot-a7404a79c6355343253353ba9fdd0d227e638df5.tar.gz buildroot-a7404a79c6355343253353ba9fdd0d227e638df5.zip |
package/hidapi: select glibc gconv libs copy
Hidapi source uses iconv_open UTF-16 conversion [1] which requires
gconv libararies when buiding with glibc in order to successfully
find serial number, manufacturer and product strings [2].
Use select in the config file to autmatically select gconv libararies
for inclusion on the target when building with glibc
Tested with ./utils/test-pkg -c hidapi.cfg -p hidapi and hidapi.cfg file
contents:
BR2_PACKAGE_HIDAPI=y
BR2_PACKAGE_EUDEV=y
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_USE_MMU=y
BR2_USE_WCHAR=y
Also tested on x86-64 build target with application using hidapi
[1]: https://github.com/signal11/hidapi/blob/a6a622ffb680c55da0de787ff93b80280498330f/libusb/hid.c#L446
[2]: https://www.silabs.com/community/interface/forum.topic.html/cp2114_linux_sta-RtWg
Signed-off-by: Dan Walkes <danwalkes@trellis-logic.com>
Tested-by: Dan Walkes <danwalkes@trellis-logic.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/qt5/qt5script/0001-Detect-32-bits-armv8-a-architecture.patch')
0 files changed, 0 insertions, 0 deletions