dvb-latest: disable modules

This commit is contained in:
CvH 2019-07-21 21:21:07 +02:00
parent 8b6af4dd33
commit bf92226e0f
3 changed files with 42 additions and 1 deletions

View File

@ -19,6 +19,12 @@ PKG_ADDON_NAME="DVB drivers from the latest kernel"
PKG_ADDON_TYPE="xbmc.service"
PKG_ADDON_VERSION="${ADDON_VERSION}.${PKG_REV}"
PKG_KERNEL_CFG_FILE=$(kernel_config_path) || die
if ! grep -q ^CONFIG_USB_PCI= ${PKG_KERNEL_CFG_FILE} ; then
PKG_PATCH_DIRS="disable-pci"
fi
pre_make_target() {
export KERNEL_VER=$(get_module_dir)
export LDFLAGS=""

View File

@ -0,0 +1,22 @@
--- a/v4l/scripts/make_kconfig.pl
+++ b/v4l/scripts/make_kconfig.pl
@@ -626,6 +626,9 @@ ($$)
close OUT;
# These options should default to off
+disable_config('VIDEO_CX25840');
+disable_config('VIDEO_SAA7146');
+disable_config('VIDEO_SAA7146_VV');
disable_config('MEDIA_ANALOG_TV_SUPPORT');
disable_config('MEDIA_CAMERA_SUPPORT');
disable_config('MEDIA_CEC_SUPPORT');
--- a/v4l/versions.txt
+++ b/v4l/versions.txt
@@ -2,6 +2,7 @@
[9.255.255]
VIDEO_IPU3_IMGU
VIDEO_DW9714
+DVB_MXL5XX
CEC_NOTIFIER
MEDIA_CEC_RC
MEDIA_CEC_SUPPORT

View File

@ -1,6 +1,6 @@
--- a/v4l/scripts/make_kconfig.pl
+++ b/v4l/scripts/make_kconfig.pl
@@ -626,6 +626,10 @@ ($$)
@@ -626,6 +626,11 @@ ($$)
close OUT;
# These options should default to off
@ -8,6 +8,19 @@
+disable_config('MEDIA_CAMERA_SUPPORT');
+disable_config('MEDIA_CEC_SUPPORT');
+disable_config('SOC_CAMERA');
+disable_config('CEC_CORE');
disable_config('DVB_AV7110_FIRMWARE');
disable_config('DVB_CINERGYT2_TUNING');
disable_config('VIDEO_HELPER_CHIPS_AUTO');
--- a/v4l/versions.txt
+++ b/v4l/versions.txt
@@ -2,6 +2,9 @@
[9.255.255]
VIDEO_IPU3_IMGU
VIDEO_DW9714
+CEC_NOTIFIER
+MEDIA_CEC_RC
+MEDIA_CEC_SUPPORT
[4.19.0]
# Needs union ec_response_get_next_data_v1.cec_message