diff --git a/drivers/video/tegra/tsec/Makefile b/drivers/video/tegra/tsec/Makefile index eb39bb4c..75e07ca9 100644 --- a/drivers/video/tegra/tsec/Makefile +++ b/drivers/video/tegra/tsec/Makefile @@ -1,13 +1,7 @@ -# -# Tsec Driver code. -# +# SPDX-License-Identifier: GPL-2.0-only +# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. GCOV_PROFILE := y -# Set config to build as module for OOT build -ifeq ($(CONFIG_TEGRA_OOT_MODULE),m) -CONFIG_TEGRA_TSEC := m -endif - -obj-$(CONFIG_TEGRA_TSEC) += tsecriscv.o +obj-m += tsecriscv.o tsecriscv-y := tsec_comms/tsec_comms.o tsec_boot.o tsec.o