mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-12 05:11:59 +00:00
libcec: split the python example into a separate package
It does not provide more functionality than the C-based examples, so is of little value on a target except for checking the python module is working. Signed-off-by: Yann Dirson <yann@blade-group.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -24,10 +24,11 @@ inherit cmake pkgconfig
|
|||||||
PLATFORM_CMAKE_FLAGS ?= "-DHAVE_LINUX_API=1 -DHAVE_RPI_API=0"
|
PLATFORM_CMAKE_FLAGS ?= "-DHAVE_LINUX_API=1 -DHAVE_RPI_API=0"
|
||||||
EXTRA_OECMAKE += "${PLATFORM_CMAKE_FLAGS}"
|
EXTRA_OECMAKE += "${PLATFORM_CMAKE_FLAGS}"
|
||||||
|
|
||||||
# Put client examples into a separate package
|
# Put client examples into separate packages
|
||||||
PACKAGE_BEFORE_PN += "${PN}-examples"
|
PACKAGE_BEFORE_PN += "${PN}-examples-python ${PN}-examples"
|
||||||
|
FILES_${PN}-examples-python = "${bindir}/py*"
|
||||||
FILES_${PN}-examples = "${bindir}"
|
FILES_${PN}-examples = "${bindir}"
|
||||||
RDEPENDS_${PN}-examples = "python3-${BPN} python3-core"
|
RDEPENDS_${PN}-examples-python = "python3-${BPN} python3-core"
|
||||||
|
|
||||||
# Create the wrapper for python3
|
# Create the wrapper for python3
|
||||||
PACKAGES += "python3-${BPN}"
|
PACKAGES += "python3-${BPN}"
|
||||||
|
|||||||
Reference in New Issue
Block a user