summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libusbgx
Commit message (Collapse)AuthorAgeFilesLines
* Add condition for libusbgx-exampleshomalozoa2022-10-181-2/+2
| | | | | | | * Add @bb.utils.contains for PACKAGE_BEFORE_PN and INITSCRIPT_PACKAGES to make configs in PACKAGECONFIG work. Signed-off-by: homalozoa <nx.tardis@gmail.com>
* libusbgx: add PACKAGECONFIG to make build predicableMing Liu2022-09-231-10/+19
| | | | | | | | | | | | | | Also introduce a ${PN}-examples subpackage since all binaries get built only when --enable-examples is set to true, move them into ${PN}-examples package. Another advantage of this change is that now libusbgx only contains a .so library so the recipes DEPENDs on it wont involve in unnecessary binaries or systemd/sysvinit scripts. Also uprev to the latest git hash in master and fix some inconsistent coding style and an invalid EXTRA_OECONF. Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj2022-03-041-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update SRC_URI branch and protocolsRichard Purdie2021-11-031-1/+1
| | | | | | | | | 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>
* libusbgx: Configure the Devices UsedMaksym Sloyko2021-08-071-1/+6
| | | | | | | | | | | | | | | | | | | | Add ability to configure the UDC used for specific schema. The feature is backwards compatible, so existing users don't need to change anything. If one wants to specify which UDC is used for specific schema, for example, `eth0`, they can add this variable to the configuration file: UDC_FOR_SCHEMA_eth0=f8000000.udc If the device file exists in /sys/class/udc when the gadget is started, it will be used for this schema. If this configuration is not present, first available device is picked. Signed-off-by: Maksym Sloyko <maxims@google.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-031-4/+4
| | | | | | | | | | 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>
* libusbgx: Use update-alternativesKhem Raj2020-08-311-1/+6
| | | | | | gadget-acm-ecm show-gadgets are also provided by older libusbg recipe Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libusbgx: Add recipeOtavio Salvador2018-11-306-0/+217
The libusbgx allow easier use and setup of USB gadgets. To easy integration on different systems a libusbgx-config package is provided so it can be used to start and enable respective USB gadget schema. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Khem Raj <raj.khem@gmail.com>