mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
Different build flags are used for iGPU and dGPU in safety build. In order to support dGPU in unit tests, a separate library is needed for the driver. Added makefiles to build: - libnvgpu-drv-igpu.so - libnvgpu-drv-dpgu.so Updated scripts and units makefiles to use libnvgpu-drv-igu by default. Jira NVGPU-5217 Change-Id: Ibcc56088723cec5cb2d0ac42725102ae0c886014 Signed-off-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2333499 Reviewed-by: automaticguardword <automaticguardword@nvidia.com> Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com> Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit
24 lines
894 B
Makefile
24 lines
894 B
Makefile
################################### tell Emacs this is a -*- makefile-gmake -*-
|
|
#
|
|
# Copyright (c) 2020, NVIDIA CORPORATION. All Rights Reserved.
|
|
#
|
|
# NVIDIA CORPORATION and its licensors retain all intellectual property
|
|
# and proprietary rights in and to this software, related documentation
|
|
# and any modifications thereto. Any use, reproduction, disclosure or
|
|
# distribution of this software and related documentation without an express
|
|
# license agreement from NVIDIA CORPORATION is strictly prohibited.
|
|
#
|
|
###############################################################################
|
|
|
|
ifdef NV_INTERFACE_FLAG_SHARED_LIBRARY_SECTION
|
|
NV_INTERFACE_NAME := nvgpu-drv-dgpu
|
|
NV_INTERFACE_EXPORTS := lib$(NV_INTERFACE_NAME)_safe
|
|
NV_INTERFACE_PUBLIC_INCLUDES := . include
|
|
endif
|
|
|
|
# Local Variables:
|
|
# indent-tabs-mode: t
|
|
# tab-width: 8
|
|
# End:
|
|
# vi: set tabstop=8 noexpandtab:
|