mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: update Makefile for NVMAP_NEXT and TEGRA_NVLINK configs
To build nvgpu as external module NV_BUILD_KERNEL_OPTIONS dependency is present to set the config CONFIG_NVGPU_NVMAP_NEXT. Remove that dependency as rel-35 does not support kernels prior to v5.10. And nvlink symbols are not found while building with public sources. nvlink is not supported on rel-35, hence disable that config. Bug 3700823 Bug 3684625 Change-Id: I8787ecb9746dd010a025e6d53679d2f23578ad56 Signed-off-by: Sagar Kamble <skamble@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2738479 Tested-by: Debarshi Dutta <ddutta@nvidia.com> Reviewed-by: Debarshi Dutta <ddutta@nvidia.com> Reviewed-by: Bibek Basu <bbasu@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
mobile promotions
parent
868b723b16
commit
96292d688b
@@ -114,10 +114,8 @@ endif
|
||||
|
||||
CONFIG_NVGPU_NVMEM_FUSE := n
|
||||
|
||||
ifneq ($(findstring 5.10,$(NV_BUILD_KERNEL_OPTIONS)),)
|
||||
CONFIG_NVGPU_NVMAP_NEXT := y
|
||||
CONFIG_NVGPU_NVMEM_FUSE := y
|
||||
endif
|
||||
|
||||
ifneq ($(findstring stable,$(NV_BUILD_KERNEL_OPTIONS)),)
|
||||
CONFIG_NVGPU_NVMEM_FUSE := y
|
||||
@@ -154,6 +152,8 @@ ifeq ($(CONFIG_NV_TEGRA_MC),y)
|
||||
CONFIG_NVGPU_USE_TEGRA_ALLOC_FD := y
|
||||
endif
|
||||
|
||||
CONFIG_TEGRA_NVLINK := n
|
||||
|
||||
# Support Nvlink
|
||||
ifeq ($(CONFIG_TEGRA_NVLINK),y)
|
||||
CONFIG_NVGPU_NVLINK := y
|
||||
|
||||
Reference in New Issue
Block a user