Files
linux-nv-oot/drivers/media/platform/tegra/camera/Makefile
Akshay Tigga 78f3c02fcd Remove tegra-camera.o from ACK build
Including tegra-camera.o in ACK build will lead to the
following errors :
ERROR: modpost: "v4l2_async_register_subdev" undefined!
ERROR: modpost: "v4l2_fwnode_put_link" undefined!
ERROR: modpost: "v4l2_async_notifier_init" undefined!
ERROR: modpost: "__v4l2_async_notifier_add_subdev" undefined!
ERROR: modpost: "v4l2_async_notifier_register" undefined!
ERROR: modpost: "v4l2_fwnode_parse_link" undefined!
ERROR: modpost: "vb2_dma_contig_set_max_seg_size" undefined!
ERROR: modpost: "v4l2_async_unregister_subdev" undefined!
ERROR: modpost: "v4l2_async_notifier_unregister" undefined!

Bug 3974840

Change-Id: Ia76a0e79efd495189d0de7053101bdfd3309fba8
Signed-off-by: Bruce Xu <brucex@nvidia.com>
(cherry picked from commit d53366444ca977e09622331aad1cb1913a8ceed0)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2909237
Tested-by: Ankita Garg <ankitag@nvidia.com>
Reviewed-by: Ankita Garg <ankitag@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-06-03 19:16:43 -07:00

35 lines
1.3 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0-only
# Copyright (c) 2022-2023, NVIDIA CORPORATION. All rights reserved.
ifeq ($(findstring ack_src,$(NV_BUILD_KERNEL_OPTIONS)),)
LINUXINCLUDE += -I$(srctree.nvidia-oot)/drivers/video/tegra/camera
LINUXINCLUDE += -I$(srctree.nvidia-oot)/drivers/media/platform/tegra
LINUXINCLUDE += -DCONFIG_TEGRA_HOST1X
LINUXINCLUDE += -Werror
tegra-camera-objs := regmap_util.o
tegra-camera-objs += camera_common.o
tegra-camera-objs += camera_gpio.o
tegra-camera-objs += sensor_common.o
tegra-camera-objs += camera_version_utils.o
tegra-camera-objs += nvcamera_log.o
tegra-camera-objs += tegracam_v4l2.o
tegra-camera-objs += tegracam_core.o
tegra-camera-objs += tegracam_ctrls.o
tegra-camera-objs += tegracam_utils.o
tegra-camera-objs += vi/vi5_fops.o
tegra-camera-objs += vi/mc_common.o
tegra-camera-objs += vi/graph.o
tegra-camera-objs += vi/channel.o
tegra-camera-objs += vi/core.o
tegra-camera-objs += csi/csi.o
tegra-camera-objs += nvcsi/csi5_fops.o
tegra-camera-objs += fusa-capture/capture-vi.o
tegra-camera-objs += fusa-capture/capture-common.o
tegra-camera-objs += fusa-capture/capture-vi-channel.o
tegra-camera-objs += fusa-capture/capture-isp-channel.o
tegra-camera-objs += fusa-capture/capture-isp.o
obj-m += tegra-camera.o
obj-m += tests/
endif