diff options
Diffstat (limited to 'meta-oe/recipes-support/libgpiod/libgpiod_1.4.2.bb')
| -rw-r--r-- | meta-oe/recipes-support/libgpiod/libgpiod_1.4.2.bb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_1.4.2.bb b/meta-oe/recipes-support/libgpiod/libgpiod_1.4.2.bb new file mode 100644 index 0000000000..bad88a54ed --- /dev/null +++ b/meta-oe/recipes-support/libgpiod/libgpiod_1.4.2.bb | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | require libgpiod.inc | ||
| 2 | |||
| 3 | DEPENDS += "autoconf-archive-native" | ||
| 4 | |||
| 5 | SRC_URI[md5sum] = "b552bfa87685dfd728a1485e914bfae2" | ||
| 6 | SRC_URI[sha256sum] = "b289b70e3d63a8e06205f7445d5342f4742277c267ce24a7c4d0017fff339e41" | ||
| 7 | |||
| 8 | # enable cxx bindings | ||
| 9 | PACKAGECONFIG ?= "cxx" | ||
| 10 | |||
| 11 | PACKAGECONFIG[cxx] = "--enable-bindings-cxx,--disable-bindings-cxx" | ||
| 12 | PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,kmod udev" | ||
| 13 | |||
| 14 | PACKAGECONFIG[python3] = "--enable-bindings-python,--disable-bindings-python,python3" | ||
| 15 | |||
| 16 | inherit python3native | ||
| 17 | |||
| 18 | PACKAGES =+ "${PN}-python" | ||
| 19 | FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}" | ||
| 20 | RRECOMMENDS_PYTHON = "${@bb.utils.contains('PACKAGECONFIG', 'python3', '${PN}-python', '',d)}" | ||
| 21 | RRECOMMENDS_${PN}-python += "${RRECOMMENDS_PYTHON}" | ||
