mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-06 01:17:49 +00:00
crazycat: disable modules
This commit is contained in:
parent
a09af7a684
commit
8882b95bd4
@ -19,6 +19,12 @@ PKG_ADDON_NAME="DVB drivers for TBS"
|
|||||||
PKG_ADDON_TYPE="xbmc.service"
|
PKG_ADDON_TYPE="xbmc.service"
|
||||||
PKG_ADDON_VERSION="${ADDON_VERSION}.${PKG_REV}"
|
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() {
|
pre_make_target() {
|
||||||
export KERNEL_VER=$(get_module_dir)
|
export KERNEL_VER=$(get_module_dir)
|
||||||
export LDFLAGS=""
|
export LDFLAGS=""
|
||||||
|
@ -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');
|
@ -2,12 +2,11 @@
|
|||||||
|
|
||||||
--- a/v4l/Makefile
|
--- a/v4l/Makefile
|
||||||
+++ b/v4l/Makefile
|
+++ b/v4l/Makefile
|
||||||
@@ -51,7 +51,7 @@
|
@@ -51,7 +51,6 @@ default:: prepare firmware
|
||||||
@echo Kernel build directory is $(OUTDIR)
|
@echo Kernel build directory is $(OUTDIR)
|
||||||
$(MAKE) -C ../linux apply_patches
|
$(MAKE) -C ../linux apply_patches
|
||||||
$(MAKE) -C $(OUTDIR) SUBDIRS=$(PWD) $(MYCFLAGS) modules
|
$(MAKE) -C $(OUTDIR) SUBDIRS=$(PWD) $(MYCFLAGS) modules
|
||||||
- ./scripts/rmmod.pl check
|
- ./scripts/rmmod.pl check
|
||||||
+# ./scripts/rmmod.pl check
|
|
||||||
# $(MAKE) checkpatch
|
# $(MAKE) checkpatch
|
||||||
|
|
||||||
mismatch:: prepare firmware
|
mismatch:: prepare firmware
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- a/v4l/scripts/make_kconfig.pl
|
--- a/v4l/scripts/make_kconfig.pl
|
||||||
+++ b/v4l/scripts/make_kconfig.pl
|
+++ b/v4l/scripts/make_kconfig.pl
|
||||||
@@ -626,6 +626,10 @@ ($$)
|
@@ -626,6 +626,11 @@ ($$)
|
||||||
close OUT;
|
close OUT;
|
||||||
|
|
||||||
# These options should default to off
|
# These options should default to off
|
||||||
@ -8,6 +8,19 @@
|
|||||||
+disable_config('MEDIA_CAMERA_SUPPORT');
|
+disable_config('MEDIA_CAMERA_SUPPORT');
|
||||||
+disable_config('MEDIA_CEC_SUPPORT');
|
+disable_config('MEDIA_CEC_SUPPORT');
|
||||||
+disable_config('SOC_CAMERA');
|
+disable_config('SOC_CAMERA');
|
||||||
|
+disable_config('CEC_CORE');
|
||||||
disable_config('DVB_AV7110_FIRMWARE');
|
disable_config('DVB_AV7110_FIRMWARE');
|
||||||
disable_config('DVB_CINERGYT2_TUNING');
|
disable_config('DVB_CINERGYT2_TUNING');
|
||||||
disable_config('VIDEO_HELPER_CHIPS_AUTO');
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user