mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 16:27:27 +00:00
libcec: build with Linux CEC API
The Linux CEC API is available in linux-kernel-headers 4.10 and newer, and supported since libcec 5.0.0, though they still default to the legacy Raspberry Pi API. Signed-off-by: Yann Dirson <yann@blade-group.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -20,6 +20,10 @@ S = "${WORKDIR}/git"
|
|||||||
|
|
||||||
inherit cmake pkgconfig
|
inherit cmake pkgconfig
|
||||||
|
|
||||||
|
# default config is for RaspberryPi API, use the Linux 4.10+ API by default
|
||||||
|
PLATFORM_CMAKE_FLAGS ?= "-DHAVE_LINUX_API=1 -DHAVE_RPI_API=0"
|
||||||
|
EXTRA_OECMAKE += "${PLATFORM_CMAKE_FLAGS}"
|
||||||
|
|
||||||
# Put client tools into a separate package
|
# Put client tools into a separate package
|
||||||
PACKAGE_BEFORE_PN += "${PN}-tools"
|
PACKAGE_BEFORE_PN += "${PN}-tools"
|
||||||
FILES_${PN}-tools = "${bindir}"
|
FILES_${PN}-tools = "${bindir}"
|
||||||
|
|||||||
Reference in New Issue
Block a user