mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
We prepare new exports file libnvgpu-drv_safe.export that will not export interfaces for non-safe features. We set the exports file conditionally based on NV_BUILD_CONFIGURATION_IS_SAFETY. As the features get removed from the libnvgpu-drv.so, corresponding interfaces need to be removed from the new interface exports file. JIRA NVGPU-3062 Change-Id: I87a5d727c8b4338c1f16d3e97af469effba6645f Signed-off-by: Sagar Kamble <skamble@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2119318 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
32 lines
1.1 KiB
Makefile
32 lines
1.1 KiB
Makefile
################################### tell Emacs this is a -*- makefile-gmake -*-
|
|
#
|
|
# Copyright (c) 2018, 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.
|
|
#
|
|
# tmake for SW Mobile component makefile
|
|
#
|
|
# libnvgpu-drv interface makefile fragment
|
|
#
|
|
###############################################################################
|
|
|
|
ifdef NV_INTERFACE_FLAG_SHARED_LIBRARY_SECTION
|
|
NV_INTERFACE_NAME := nvgpu-drv
|
|
ifeq ($(NV_BUILD_CONFIGURATION_IS_SAFETY),0)
|
|
NV_INTERFACE_EXPORTS := lib$(NV_INTERFACE_NAME)
|
|
else
|
|
NV_INTERFACE_EXPORTS := lib$(NV_INTERFACE_NAME)_safe
|
|
endif
|
|
NV_INTERFACE_PUBLIC_INCLUDES := . include
|
|
endif
|
|
|
|
# Local Variables:
|
|
# indent-tabs-mode: t
|
|
# tab-width: 8
|
|
# End:
|
|
# vi: set tabstop=8 noexpandtab:
|