mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 10:11:26 +03:00
Consolidate the RTCPU drivers under a single sub-directory so that a single Makefile is used to build all these drivers. This also simplifies the paths for finding the necessary header files. Bug 4078936 Change-Id: I88e45a2954f759ee0bc8a359bfdf3ef09a55617a Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2897318 (cherry picked from commit 320cf14261d1cf8bcf76cbb030186e7391ca8670) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2898616 Reviewed-by: Ankur Pawar <ankurp@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
22 lines
727 B
Makefile
22 lines
727 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
# Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
|
|
LINUX_VERSION := $(shell expr $(VERSION) \* 256 + $(PATCHLEVEL))
|
|
LINUX_VERSION_6_2 := $(shell expr 6 \* 256 + 2)
|
|
|
|
# capture-ivc is currently broken for Linux v6.2 and so skip for Linux v6.2+
|
|
ifeq ($(shell test $(LINUX_VERSION) -lt $(LINUX_VERSION_6_2); echo $$?),0)
|
|
obj-m += capture-ivc.o
|
|
endif
|
|
obj-m += ivc-bus.o
|
|
obj-m += camchar.o
|
|
obj-m += camera-diagnostics.o
|
|
obj-m += rtcpu-debug.o
|
|
obj-m += clk-group.o
|
|
obj-m += hsp-mailbox-client.o
|
|
obj-m += reset-group.o
|
|
obj-m += device-group.o
|
|
|
|
tegra-camera-rtcpu-objs := tegra-camera-rtcpu-base.o tegra-rtcpu-trace.o rtcpu-monitor.o
|
|
obj-m += tegra-camera-rtcpu.o
|