mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
This change adds conditional compilation blocks to disable L4T-specific camera and multimedia drivers when building for embedded Linux platforms. Key changes include: - Add ifneq ($(NV_BUILD_SYSTEM_TYPE),embedded-linux) checks in multiple Makefiles to exclude L4T-specific components - Introduce NV_IS_L4T define to conditionally include L4T functionality - Reorganize header includes to support both L4T and embedded Linux builds - Conditionally wrap L4T-specific struct members and function calls - Update module dependencies (cdi_mgr now depends on cdi_dev instead of cdi_pwm) Jira CAMERASW-32251 Change-Id: I934fdd0188e914c07b456c0f6ad379d2a08555ca Signed-off-by: Mohit Ingale <mohiti@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3294869 GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Anubhav Rai <arai@nvidia.com> Reviewed-by: Jagadeesh Kinni <jkinni@nvidia.com> Reviewed-by: Vincent Chung <vincentc@nvidia.com> Reviewed-by: Frank Chen <frankc@nvidia.com>