crazycat: disable modules

This commit is contained in:
CvH 2019-07-21 21:21:07 +02:00
parent a09af7a684
commit 8882b95bd4
4 changed files with 33 additions and 3 deletions

View File

@ -19,6 +19,12 @@ PKG_ADDON_NAME="DVB drivers for TBS"
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,12 @@
--- 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');

View File

@ -2,12 +2,11 @@
--- a/v4l/Makefile
+++ b/v4l/Makefile
@@ -51,7 +51,7 @@
@@ -51,7 +51,6 @@ default:: prepare firmware
@echo Kernel build directory is $(OUTDIR)
$(MAKE) -C ../linux apply_patches
$(MAKE) -C $(OUTDIR) SUBDIRS=$(PWD) $(MYCFLAGS) modules
- ./scripts/rmmod.pl check
+# ./scripts/rmmod.pl check
# $(MAKE) checkpatch
mismatch:: prepare firmware

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