Hi there,
I’m using the Genio 510 EVK with NDA_BUILD="1". Since one of our products does not use the camera ISP feature, I want to remove the mtk-camisp-prebuilts package to optimize the image size.
Could you please provide:
- The standard procedure to disable/remove this package in the Yocto environment.
- Whether this removal affects other system stability.
Thanks in advance for your help!
Hi @andrew.hess ,
Regarding the mtk-camisp-prebuilts package, it is only mandatory if your application requires hardware-level RAW sensor + ISP processing.
For applications using the YUV sensor + pure data dump, you only need to ensure that mtk-camisp-driver is present in the system. The prebuilt binaries can be removed without affecting others.
To disable the automatic installation of these packages under NDA_BUILD=1, please modify the RITY package group as follows:
File: meta-rity/recipes-rity/packagegroups/packagegroup-rity-mtk-camisp.bb
diff --git a/meta/recipes-rity/packagegroups/packagegroup-rity-mtk-camisp.bb b/meta/recipes-rity/packagegroups/packagegroup-rity-mtk-camisp.bb
index 0b601623..01a55400 100644
--- a/meta/recipes-rity/packagegroups/packagegroup-rity-mtk-camisp.bb
+++ b/meta/recipes-rity/packagegroups/packagegroup-rity-mtk-camisp.bb
@@ -20,6 +20,4 @@ PACKAGES = " \
RDEPENDS:${PN} = " \
mtk-camisp-driver \
- ${@bb.utils.contains("DISTRO_FEATURES", "nda-mtk", "mtk-camisp-prebuilts", "", d)} \
- ${@bb.utils.contains("DISTRO_FEATURES", "nda-mtk", "mtk-vcu-driver-mt8395", "", d)} \
"
This modification will prevent the ISP prebuilts from being included in your image. If you encounter any unexpected behavior during validation, feel free to reach out.