mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 02:01:36 +03:00
cvnas: Set config variable when build as OOT module
When cvnas driver is build as OOT module, it is required to set the following config. CONFIG_TEGRA_FUSE_UPSTREAM CONFIG_TEGRA_CVNAS Set these config when CONFIG_TEGRA_OOT_MODULE is set. Bug 3583599 Change-Id: I8deffa609cfc7abf6c9efd69405295077649c8b1 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2715735 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
This commit is contained in:
@@ -8,6 +8,12 @@
|
||||
ccflags-y += -I$(srctree.nvidia)/include
|
||||
ccflags-y += -Werror
|
||||
|
||||
# Set config when build as OOT module.
|
||||
ifeq ($(CONFIG_TEGRA_OOT_MODULE),m)
|
||||
CONFIG_TEGRA_FUSE_UPSTREAM := y
|
||||
CONFIG_TEGRA_CVNAS := m
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_TEGRA_FUSE_UPSTREAM),y)
|
||||
ccflags-y += -DCONFIG_TEGRA_FUSE_UPSTREAM
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user