gpu: nvgpu: add nvgpu-next to Makefile.sources

It's for gpu server or qnx could use nvgpu-next. It only includes
nvgpu-next Makefile.sources. The user should decide whether to enable
CONFIG_NVGPU_NEXT.

Jira GVSCI-15646

Change-Id: Ic70a4de668dd5e05a68fc57755a1f0aed9548ca5
Signed-off-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2858883
Reviewed-by: Austin Tajiri <atajiri@nvidia.com>
Reviewed-by: Rajesh Devaraj <rdevaraj@nvidia.com>
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
This commit is contained in:
Richard Zhao
2023-02-15 09:58:15 -08:00
committed by mobile promotions
parent 4ef14a13ff
commit 3af0fe510e

View File

@@ -1,6 +1,6 @@
# -*- mode: makefile -*-
#
# Copyright (c) 2018-2022, NVIDIA CORPORATION. All rights reserved.
# Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
@@ -913,3 +913,7 @@ srcs += \
hal/grmgr/grmgr_ga100.c
endif
endif
srctree.nvgpu-next := $(NV_SOURCE)/kernel/nvgpu-next
include $(srctree.nvgpu-next)/drivers/gpu/nvgpu/Makefile.sources
srcs += $(addprefix ../../../../nvgpu-next/drivers/gpu/nvgpu/,$(srcs_next))