mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-16 13:38:53 +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:
parent
5d28b4ec75
commit
52fbd36e62
@ -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}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user