e5c392830e
[Thomas: taken from Mischa original github patch.] Signed-off-by: Mischa Jonker <mjonker@synopsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Tested-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
34 lines
860 B
Makefile
34 lines
860 B
Makefile
################################################################################
|
|
#
|
|
# libcec
|
|
#
|
|
################################################################################
|
|
|
|
LIBCEC_VERSION = libcec-2.1.1
|
|
LIBCEC_SITE = $(call github,Pulse-Eight,libcec,$(LIBCEC_VERSION))
|
|
LIBCEC_LICENSE = GPLv2+
|
|
LIBCEC_LICENSE_FILES = COPYING
|
|
|
|
# Autoreconf required due to being a dev tarball and not a release tarball.
|
|
LIBCEC_AUTORECONF = YES
|
|
LIBCEC_INSTALL_STAGING = YES
|
|
LIBCEC_DEPENDENCIES = host-pkgconf
|
|
|
|
ifeq ($(BR2_PACKAGE_LOCKDEV),y)
|
|
LIBCEC_DEPENDENCIES += lockdev
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_UDEV),y)
|
|
LIBCEC_DEPENDENCIES += udev
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_RPI_USERLAND),y)
|
|
LIBCEC_CONF_OPT = --enable-rpi \
|
|
--with-rpi-include-path=$(STAGING_DIR)/usr/include
|
|
LIBCEC_DEPENDENCIES += rpi-userland
|
|
else
|
|
LIBCEC_CONF_OPT = --disable-rpi
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|