mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-16 22:23:14 +00:00
If we move the packageconfig settings from the shared inc file into the individual version recipes, we can enable the cxx bindings by default for the newer version of libgpiod. Signed-off-by: James Feist <james.feist@linux.intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
21 lines
839 B
BlitzBasic
21 lines
839 B
BlitzBasic
require libgpiod.inc
|
|
|
|
DEPENDS += "autoconf-archive-native"
|
|
|
|
SRC_URI[md5sum] = "9f7530a5d56f070ba0af78d6ba077973"
|
|
SRC_URI[sha256sum] = "6ec837f23e8f2196e5976dec4ac81403170830075e7f33ede1394eaf67f2e962"
|
|
|
|
# enable tools and cxx bindings
|
|
PACKAGECONFIG ?= "cxx tools"
|
|
|
|
PACKAGECONFIG[cxx] = "--enable-bindings-cxx,--disable-bindings-cxx"
|
|
PACKAGECONFIG[tests] = "--enable-tests --enable-install-tests,--disable-tests --disable-install-tests,kmod udev"
|
|
|
|
PACKAGECONFIG[python3] = "--enable-bindings-python,--disable-bindings-python,python3"
|
|
inherit ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3native', '', d)}
|
|
|
|
PACKAGES =+ "${PN}-python"
|
|
FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}"
|
|
RRECOMMENDS_PYTHON = "${@bb.utils.contains('PACKAGECONFIG', 'python3', '${PN}-python', '',d)}"
|
|
RRECOMMENDS_${PN}-python += "${RRECOMMENDS_PYTHON}"
|