mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
nvdla: Get rid of non-module build
nvdla driver inside the nvidia-oot is always build as module. Remove the handling of non-module build. Bug 4074863 Change-Id: I22b73ac8aa87b6de64a67a2de5d30399fbd82a20 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2890062 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Amit Sharma (SW-TEGRA) <amisharma@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
5469e6aaf3
commit
c54d9f24ed
@@ -1,11 +1,7 @@
|
|||||||
GCOV_PROFILE := y
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
# Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||||
|
|
||||||
# Set config to build as module for OOT build
|
GCOV_PROFILE := y
|
||||||
ifeq ($(CONFIG_TEGRA_OOT_MODULE),m)
|
|
||||||
CONFIG_TEGRA_GRHOST_NVDLA := m
|
|
||||||
CONFIG_TEGRA_HOST1X_NEXT := m
|
|
||||||
CONFIG_TEGRA_FUSE_UPSTREAM := y
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifdef CONFIG_TEGRA_GRHOST
|
ifdef CONFIG_TEGRA_GRHOST
|
||||||
ccflags-y += -I$(srctree.nvidia)/drivers/video/tegra/host
|
ccflags-y += -I$(srctree.nvidia)/drivers/video/tegra/host
|
||||||
@@ -20,14 +16,9 @@ ccflags-y += -Werror
|
|||||||
# When using the upstream host1x driver, the Makefile must define the
|
# When using the upstream host1x driver, the Makefile must define the
|
||||||
# srctree.host1x path in order to find the necessary header files for
|
# srctree.host1x path in order to find the necessary header files for
|
||||||
# the upstream host1x driver.
|
# the upstream host1x driver.
|
||||||
ifdef CONFIG_TEGRA_HOST1X_NEXT
|
|
||||||
ccflags-y += -I$(srctree.host1x)/include
|
ccflags-y += -I$(srctree.host1x)/include
|
||||||
ccflags-y += -DCONFIG_TEGRA_HOST1X
|
ccflags-y += -DCONFIG_TEGRA_HOST1X
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(CONFIG_TEGRA_FUSE_UPSTREAM),y)
|
|
||||||
ccflags-y += -DCONFIG_TEGRA_FUSE_UPSTREAM
|
ccflags-y += -DCONFIG_TEGRA_FUSE_UPSTREAM
|
||||||
endif
|
|
||||||
|
|
||||||
nvhost-nvdla-objs = \
|
nvhost-nvdla-objs = \
|
||||||
nvdla.o \
|
nvdla.o \
|
||||||
@@ -41,4 +32,4 @@ ifdef CONFIG_TEGRA_GRHOST
|
|||||||
nvhost-nvdla-objs += dla_channel.o
|
nvhost-nvdla-objs += dla_channel.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
obj-$(CONFIG_TEGRA_GRHOST_NVDLA) += nvhost-nvdla.o
|
obj-m += nvhost-nvdla.o
|
||||||
|
|||||||
Reference in New Issue
Block a user