diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-12-21 16:26:11 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-12-23 13:29:20 -0800 |
commit | 56fe916ab5ffab766d52fc40f27fc67c1dad1f0b (patch) | |
tree | a43887a40529f0c85eec3f8b53b38b272e078825 /meta-oe/recipes-support/libgpiod | |
parent | 2552c8e916da4fee1195a9af9c109ebd820f4aaf (diff) | |
download | meta-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.bb | 4 |
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 | ||
8 | PACKAGECONFIG[cxx] = "--enable-bindings-cxx,--disable-bindings-cxx" | 8 | PACKAGECONFIG[cxx] = "--enable-bindings-cxx,--disable-bindings-cxx" |
9 | 9 | ||
10 | PACKAGECONFIG[python3] = "--enable-bindings-python,--disable-bindings-python,python3,python3-core" | 10 | PACKAGECONFIG[python3] = "--enable-bindings-python,--disable-bindings-python," |
11 | inherit ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3native', '', d)} | 11 | inherit ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3native', '', d)} |
12 | 12 | ||
13 | PACKAGES =+ "${PN}-python" | 13 | PACKAGES =+ "${PN}-python" |
14 | FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}" | 14 | FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}" |
15 | RRECOMMENDS_PYTHON = "${@bb.utils.contains('PACKAGECONFIG', 'python3', '${PN}-python', '',d)}" | 15 | RRECOMMENDS_PYTHON = "${@bb.utils.contains('PACKAGECONFIG', 'python3', '${PN}-python', '',d)}" |
16 | RRECOMMENDS_${PN} += "${RRECOMMENDS_PYTHON}" | 16 | RRECOMMENDS_${PN}-python += "${RRECOMMENDS_PYTHON}" |