summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libgpiod
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-12-21 16:26:11 -0800
committerKhem Raj <raj.khem@gmail.com>2018-12-23 13:29:20 -0800
commit56fe916ab5ffab766d52fc40f27fc67c1dad1f0b (patch)
treea43887a40529f0c85eec3f8b53b38b272e078825 /meta-oe/recipes-support/libgpiod
parent2552c8e916da4fee1195a9af9c109ebd820f4aaf (diff)
downloadmeta-openembedded-56fe916ab5ffab766d52fc40f27fc67c1dad1f0b.tar.gz
libgpiod: Rrecommend python3 only for PN-python package
Fixes overdependency on PN Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/libgpiod')
-rw-r--r--meta-oe/recipes-support/libgpiod/libgpiod_1.2.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_1.2.bb b/meta-oe/recipes-support/libgpiod/libgpiod_1.2.bb
index 30289b983..dd080ff9d 100644
--- a/meta-oe/recipes-support/libgpiod/libgpiod_1.2.bb
+++ b/meta-oe/recipes-support/libgpiod/libgpiod_1.2.bb
@@ -7,10 +7,10 @@ SRC_URI[sha256sum] = "b6b9079c933f7c8524815437937dda6b795a16141bca202a9eec70ba58
7 7
8PACKAGECONFIG[cxx] = "--enable-bindings-cxx,--disable-bindings-cxx" 8PACKAGECONFIG[cxx] = "--enable-bindings-cxx,--disable-bindings-cxx"
9 9
10PACKAGECONFIG[python3] = "--enable-bindings-python,--disable-bindings-python,python3,python3-core" 10PACKAGECONFIG[python3] = "--enable-bindings-python,--disable-bindings-python,"
11inherit ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3native', '', d)} 11inherit ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3native', '', d)}
12 12
13PACKAGES =+ "${PN}-python" 13PACKAGES =+ "${PN}-python"
14FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}" 14FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}"
15RRECOMMENDS_PYTHON = "${@bb.utils.contains('PACKAGECONFIG', 'python3', '${PN}-python', '',d)}" 15RRECOMMENDS_PYTHON = "${@bb.utils.contains('PACKAGECONFIG', 'python3', '${PN}-python', '',d)}"
16RRECOMMENDS_${PN} += "${RRECOMMENDS_PYTHON}" 16RRECOMMENDS_${PN}-python += "${RRECOMMENDS_PYTHON}"