Permalink
Browse files

include seco-cec module

set kernel options for CEC
set kernel options to build i2c-i801 as module insted of built-in
set libreelec options for CEC framework
  • Loading branch information...
andy-burns-uk committed Mar 11, 2018
1 parent c5f548e commit 4d0739f0c1a9b4cabb820e36b40d541e00030413
@@ -147,7 +147,7 @@
CEC_SUPPORT="yes"

# build and install CEC framework support (yes / no)
CEC_FRAMEWORK_SUPPORT="no"
CEC_FRAMEWORK_SUPPORT="yes"

# build and install iSCSI support - iscsistart (yes / no)
ISCSI_SUPPORT="yes"
@@ -0,0 +1,44 @@
################################################################################
# This file is part of LibreELEC - https://libreelec.tv
# Copyright (C) 2018-present Team LibreELEC
#
# LibreELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# LibreELEC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################

PKG_NAME="secocec"
PKG_VERSION="364058c36fa11d7c4f539e6fb35a65acfad405de"
PKG_SHA256="52b14a0bf757c39bc2739f6887da43075ff810d9f8d57b24b2958282ef4d159f"
PKG_ARCH="x86_64"
PKG_LICENSE="GPLv2/BSD"
PKG_SITE="https://github.com/ektor5/secocec/"
PKG_URL="https://github.com/ektor5/secocec/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain linux v4l-utils"
PKG_NEED_UNPACK="$LINUX_DEPENDS"
PKG_SECTION="driver"
PKG_SHORTDESC="CEC driver for udoo x86 boards"
PKG_LONGDESC="CEC driver for udoo x86 boards"
PKG_IS_KERNEL_PKG="yes"

pre_make_target() {
unset LDFLAGS
}

make_target() {
make KERNELDIR=$(kernel_path)
}

makeinstall_target() {
mkdir -p $INSTALL/$(get_full_module_dir)/$PKG_NAME
cp *.ko $INSTALL/$(get_full_module_dir)/$PKG_NAME
}
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86_64 4.14.22 Kernel Configuration
# Linux/x86_64 4.14.24 Kernel Configuration
#
CONFIG_64BIT=y
CONFIG_X86_64=y
@@ -2449,7 +2449,7 @@ CONFIG_I2C_ALGOBIT=y
# CONFIG_I2C_ALI15X3 is not set
# CONFIG_I2C_AMD756 is not set
# CONFIG_I2C_AMD8111 is not set
CONFIG_I2C_I801=y
CONFIG_I2C_I801=m
CONFIG_I2C_ISCH=y
# CONFIG_I2C_ISMT is not set
CONFIG_I2C_PIIX4=y
@@ -2952,7 +2952,8 @@ CONFIG_MEDIA_ANALOG_TV_SUPPORT=y
CONFIG_MEDIA_DIGITAL_TV_SUPPORT=y
# CONFIG_MEDIA_RADIO_SUPPORT is not set
# CONFIG_MEDIA_SDR_SUPPORT is not set
# CONFIG_MEDIA_CEC_SUPPORT is not set
CONFIG_MEDIA_CEC_SUPPORT=y
CONFIG_MEDIA_CEC_RC=y
# CONFIG_MEDIA_CONTROLLER is not set
CONFIG_VIDEO_DEV=m
CONFIG_VIDEO_V4L2=m
@@ -3079,6 +3080,8 @@ CONFIG_VIDEO_EM28XX=m
# CONFIG_VIDEO_EM28XX_ALSA is not set
CONFIG_VIDEO_EM28XX_DVB=m
CONFIG_VIDEO_EM28XX_RC=m
CONFIG_USB_PULSE8_CEC=m
CONFIG_USB_RAINSHADOW_CEC=m
CONFIG_MEDIA_PCI_SUPPORT=y

#
@@ -3149,6 +3152,7 @@ CONFIG_DVB_SMIPCIE=m
# CONFIG_V4L_MEM2MEM_DRIVERS is not set
# CONFIG_V4L_TEST_DRIVERS is not set
# CONFIG_DVB_PLATFORM_DRIVERS is not set
CONFIG_CEC_PLATFORM_DRIVERS=y

#
# Supported MMC/SDIO adapters
@@ -90,7 +90,7 @@
# for a list of additinoal drivers see packages/linux-drivers
# Space separated list is supported,
# e.g. ADDITIONAL_DRIVERS="DRIVER1 DRIVER2"
ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS bcm_sta intel_nuc_led"
ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS bcm_sta intel_nuc_led secocec"

# build and install driver addons (yes / no)
DRIVER_ADDONS_SUPPORT="yes"

0 comments on commit 4d0739f

Please sign in to comment.