diff options
| author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-04-11 15:15:17 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-04-11 14:54:22 -0700 |
| commit | cf6291bf64c0f38d85d6b613e25170483d7da340 (patch) | |
| tree | 79b6cc623ce273912442b750ad2081b0d1023cce | |
| parent | 0db97d732b3f31f2302d7d772745552a2130f045 (diff) | |
| download | meta-openembedded-cf6291bf64c0f38d85d6b613e25170483d7da340.tar.gz | |
libgpiod: generalize the local files directories
In order to avoid having to rename the directories containing ptest
scripts on every update, use a more generic, per-major-release name and
extend the FILESEXTRAPATHS.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-support/libgpiod/libgpiod-1.x/run-ptest (renamed from meta-oe/recipes-support/libgpiod/libgpiod-1.6.4/run-ptest) | 0 | ||||
| -rw-r--r-- | meta-oe/recipes-support/libgpiod/libgpiod-2.x/run-ptest (renamed from meta-oe/recipes-support/libgpiod/libgpiod-2.0/run-ptest) | 0 | ||||
| -rw-r--r-- | meta-oe/recipes-support/libgpiod/libgpiod_1.6.4.bb | 2 | ||||
| -rw-r--r-- | meta-oe/recipes-support/libgpiod/libgpiod_2.0.bb | 2 |
4 files changed, 4 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod-1.6.4/run-ptest b/meta-oe/recipes-support/libgpiod/libgpiod-1.x/run-ptest index 61b9b69fc6..61b9b69fc6 100644 --- a/meta-oe/recipes-support/libgpiod/libgpiod-1.6.4/run-ptest +++ b/meta-oe/recipes-support/libgpiod/libgpiod-1.x/run-ptest | |||
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod-2.0/run-ptest b/meta-oe/recipes-support/libgpiod/libgpiod-2.x/run-ptest index 9475f02535..9475f02535 100644 --- a/meta-oe/recipes-support/libgpiod/libgpiod-2.0/run-ptest +++ b/meta-oe/recipes-support/libgpiod/libgpiod-2.x/run-ptest | |||
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_1.6.4.bb b/meta-oe/recipes-support/libgpiod/libgpiod_1.6.4.bb index df0e3f104a..b28aa8e698 100644 --- a/meta-oe/recipes-support/libgpiod/libgpiod_1.6.4.bb +++ b/meta-oe/recipes-support/libgpiod/libgpiod_1.6.4.bb | |||
| @@ -5,6 +5,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=2caced0b25dfefd4c601d92bd15116de" | |||
| 5 | 5 | ||
| 6 | SRC_URI[sha256sum] = "7b146e12f28fbca3df7557f176eb778c5ccf952ca464698dba8a61b2e1e3f9b5" | 6 | SRC_URI[sha256sum] = "7b146e12f28fbca3df7557f176eb778c5ccf952ca464698dba8a61b2e1e3f9b5" |
| 7 | 7 | ||
| 8 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-1.x:" | ||
| 9 | |||
| 8 | inherit python3native | 10 | inherit python3native |
| 9 | 11 | ||
| 10 | PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,kmod udev glib-2.0 catch2" | 12 | PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,kmod udev glib-2.0 catch2" |
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_2.0.bb b/meta-oe/recipes-support/libgpiod/libgpiod_2.0.bb index 4397641c7f..bdfd72f2e6 100644 --- a/meta-oe/recipes-support/libgpiod/libgpiod_2.0.bb +++ b/meta-oe/recipes-support/libgpiod/libgpiod_2.0.bb | |||
| @@ -7,6 +7,8 @@ LIC_FILES_CHKSUM = " \ | |||
| 7 | file://LICENSES/CC-BY-SA-4.0.txt;md5=fba3b94d88bfb9b81369b869a1e9a20f \ | 7 | file://LICENSES/CC-BY-SA-4.0.txt;md5=fba3b94d88bfb9b81369b869a1e9a20f \ |
| 8 | " | 8 | " |
| 9 | 9 | ||
| 10 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-2.x:" | ||
| 11 | |||
| 10 | SRC_URI[sha256sum] = "f74cbf82038b3cb98ebeb25bce55ee2553be28194002d2a9889b9268cce2dd07" | 12 | SRC_URI[sha256sum] = "f74cbf82038b3cb98ebeb25bce55ee2553be28194002d2a9889b9268cce2dd07" |
| 11 | 13 | ||
| 12 | # Enable all project features for ptest | 14 | # Enable all project features for ptest |
