From bcc73e76015f126e3c25473a1e4ec326e88eef7a Mon Sep 17 00:00:00 2001 From: CM2003 Date: Wed, 7 Oct 2026 00:37:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=81=A2=E5=A4=8D=20MSP=20=E7=BC=96=E8=AF=91?= =?UTF-8?q?=EF=BC=8C=E5=89=94=E9=99=A4=E6=97=A0=E6=B3=95=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E7=9A=84=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 解除 drivers/Makefile 中 MSP 相关开关的注释 - 恢复 drivers/msp 目录编译 - 剔除暂时无法编译的模块,保留可正常编译的模块 - 验证:内核编译通过 Closes #2 --- source/kernel/linux-4.4.y/drivers/Makefile | 2 +- source/msp/drv/Makefile | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/source/kernel/linux-4.4.y/drivers/Makefile b/source/kernel/linux-4.4.y/drivers/Makefile index e6f3df15a..0b24bb86f 100644 --- a/source/kernel/linux-4.4.y/drivers/Makefile +++ b/source/kernel/linux-4.4.y/drivers/Makefile @@ -9,7 +9,7 @@ obj-y += hisilicon/ ifeq ($(CONFIG_MSP),y) obj-y += common/ -#obj-y += msp/ +obj-y += msp/ endif ifeq ($(HI_CONFIG_WIFI),y) diff --git a/source/msp/drv/Makefile b/source/msp/drv/Makefile index 98f3a10a4..3b9e75a73 100755 --- a/source/msp/drv/Makefile +++ b/source/msp/drv/Makefile @@ -81,7 +81,8 @@ else ifeq ($(CFG_HI_RECOVERY_SUPPORT),y) objects += keyled endif else - objects := gpio ir i2c pm pdm pq hdmi vo hifb tde jpeg cipher otp ddr sync adsp aiao adec vfmw vdec vpss mce omxvdec +# objects := gpio ir i2c pm pdm pq hdmi vo hifb tde jpeg cipher otp ddr sync adsp aiao adec vfmw vdec vpss mce omxvdec + objects := gpio ir i2c pm pdm hdmi hifb tde jpeg cipher otp ddr sync adsp aiao adec vdec mce omxvdec #pq vpss vo vfmw ifeq ($(CFG_HI_LOAD_CAS_IMAGE),y) objects += cas_image_load @@ -154,7 +155,7 @@ else endif ifeq ($(CFG_HI_VENC_SUPPORT),y) - objects += venc +# objects += venc endif ifeq ($(CFG_HI_CI_SUPPORT),y)