Commit Graph

8 Commits

Author SHA1 Message Date
Ming Liu e2d28cb3ef libusbgx: drop hard-coded /usr/bin,/etc
Drop hard-coded /usr/bin,/etc from gadget-start.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:14:23 -04:00
homalozoa 36f92899a6 Add condition for libusbgx-examples
* 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>
2022-10-18 11:48:35 -07:00
Ming Liu ce62753e9e libusbgx: add PACKAGECONFIG to make build predicable
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>
2022-09-23 05:38:57 -07: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
Khem Raj e96331850c libusbgx: Use update-alternatives
gadget-acm-ecm show-gadgets are also provided by older libusbg recipe

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-31 08:30:19 -07:00
Otavio Salvador f29268ee21 libusbgx: Add recipe
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>
2018-11-30 17:12:36 -08:00