mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
mods: Get rid of non-module build
mods driver inside the nvidia-oot is always build as module. Remove the handling of non-module build. Bug 4074863 Change-Id: I11a22c181e159e81328fa8e2d77d1b5bc4474d94 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2890061 Tested-by: Chris Dragan <kdragan@nvidia.com> Reviewed-by: svcacv <svcacv@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
17c13e0ec0
commit
15d1f96bd8
@@ -1,13 +1,10 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
|
||||
ccflags-y += -I$(srctree.nvidia)/include
|
||||
ccflags-y += -DMODS_HAS_TEGRA
|
||||
|
||||
ifeq ($(CONFIG_TEGRA_OOT_MODULE),m)
|
||||
CONFIG_MODS := m
|
||||
endif
|
||||
|
||||
obj-$(CONFIG_MODS) := mods.o
|
||||
obj-m += mods.o
|
||||
|
||||
mods-y := mods_irq.o
|
||||
mods-y += mods_krnl.o
|
||||
|
||||
Reference in New Issue
Block a user