From 3af0fe510efb7e1a8efb3e9b5113eda269a781c9 Mon Sep 17 00:00:00 2001 From: Richard Zhao Date: Wed, 15 Feb 2023 09:58:15 -0800 Subject: [PATCH] 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 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2858883 Reviewed-by: Austin Tajiri Reviewed-by: Rajesh Devaraj Reviewed-by: Vijayakumar Subbu --- drivers/gpu/nvgpu/Makefile.sources | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/nvgpu/Makefile.sources b/drivers/gpu/nvgpu/Makefile.sources index a62b12402..c3f976c93 100644 --- a/drivers/gpu/nvgpu/Makefile.sources +++ b/drivers/gpu/nvgpu/Makefile.sources @@ -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))