summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libgpiod/libgpiod_1.6.3.bb
Commit message (Collapse)AuthorAgeFilesLines
* emacs,libgpiod,cockpit: Fix override syntax in using FILES_${PN}jansa/masterKhem Raj2021-08-061-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-031-8/+8
| | | | | | | | | | 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>
* Revert "libgpiod: ptest: warn if the gpio-mockup kernel module is not selected"Signed-off-by: Bartosz Golaszewski2021-06-091-7/+0
| | | | | | | | | | | | | This reverts commit 977c5f56198f075376f753b0b4178ecb35ad02ec. This recipe doesn't see the final value of KERNEL_FEATURES that the linux-yocto recipe uses - that's why this warning was always triggered if the gpio-mockup feature was not defined globally in this variable. The linux-yocto recipe pulls in gpio-mockup automatically if ptest is in DISTRO_FEATURES so we don't really needs thich check. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgpiod: update my email addressBartosz Golaszewski2021-06-091-1/+1
| | | | | | | | I now maintain the project and this recipe in my own time. Update my email address in the AUTHOR field. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgpiod: add the python test-suite to the ptest packageBartosz Golaszewski2021-06-091-0/+1
| | | | | | | | | One more follow-up to the ptest updates - the python test suite was missed and is still in the main library package. Move it to libgpiod-ptest. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgpiod: ptest: only rrecommend a single module that we needBartosz Golaszewski2021-06-041-1/+1
| | | | | | | | We don't need to pull in all kernel modules. It's enough to just rrecommend gpio-mockup. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgpiod: ptest: add kernel-modules to RRECOMMENDSBartosz Golaszewski2021-06-041-0/+1
| | | | | | | | libgpiod needs the gpio-mockup kernel module to be loadable (not built-in). Add kernel-modules to RRECOMMENDS. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgpiod: ptest: warn if the gpio-mockup kernel module is not selectedBartosz Golaszewski2021-06-041-0/+7
| | | | | | | | | libgpiod test-suites work with the gpio-mockup kernel module. When using linux-yocto, it's enabled using the gpio/mockup.scc kernel feature. Check if this feature is present in KERNEL_FEATURE and warn if not. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgpiod: ptest: run all test-suites if possibleBartosz Golaszewski2021-06-041-1/+19
| | | | | | | | | | We have four test-suites total in libgpiod: for the core C library, gpio-tools and for C++ and Python bindings. Modify the recipe to install all of them depending on build settings and make run-ptest execute them if available. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgpiod: add RDEPENDS for testsBartosz Golaszewski2021-06-041-1/+1
| | | | | | | | | The libgpiod-tools test-suite requires bats at run-time. The python test-suite needs the packaging module. Add both to the RDEPENDS in the tests PACKAGECONFIG option Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgpiod: correctly split output files into packagesBartosz Golaszewski2021-06-041-1/+15
| | | | | | | | | Currently, the files that should go into libgpiod-ptest are part of either the main library package of libgpiod-tools. Use more fine-grained values for package files variables. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgpiod: fix RRECOMMENDS for python bindingsBartosz Golaszewski2021-06-041-2/+2
| | | | | | | | | RRECOMMENDS for the python module doesn't work because it specifies the module itself as its own RRECOMMENDS. Fix it to recommend the python package if python3 is in PACKAGECONFIG for the main package. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgpiod: list all packages in a single assignmentBartosz Golaszewski2021-06-041-3/+1
| | | | | | | | Don't have assignments to PACKAGES scattered across the recipe - use a single place for that before assigning FILES. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgpiod: coding style fixesBartosz Golaszewski2021-06-041-4/+5
| | | | | | | | | The recipe is getting bigger so try to keep a consistent coding style. Use four spaces instead of tabs and use the common way of splitting multi-line strings for minimum git diff lines at modification. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libgpiod: update v1.6.2 -> v1.6.3Bartosz Golaszewski2021-03-221-0/+44
This is a small bugfix release addressing some issues with C++ and Python bindings. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>