mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
At present each nvgpu test unit defines its own mocked IO space. This is used to intialize the qnx/posix IO framework. This results in unwanted redefinitions, bloating of the binary. This patch creates a shared library which contains all the mocked IO space definitions and it exports a function which enable units to query, get access to the mocked IO space. Jira: NVGPU-4520 Change-Id: Ied19f14e25274953e15a785b3a73053d84012b80 Signed-off-by: Antony Clince Alex <aalex@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2260042 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
26 lines
925 B
Makefile
26 lines
925 B
Makefile
################################### tell Emacs this is a -*- makefile-gmake -*-
|
|
#
|
|
# Copyright (c) 2019, 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
|
|
#
|
|
###############################################################################
|
|
|
|
ifdef NV_INTERFACE_FLAG_SHARED_LIBRARY_SECTION
|
|
NV_INTERFACE_NAME := mock-iospace
|
|
NV_INTERFACE_EXPORTS := lib$(NV_INTERFACE_NAME)
|
|
NV_INTERFACE_PUBLIC_INCLUDES := include
|
|
endif
|
|
|
|
# Local Variables:
|
|
# indent-tabs-mode: t
|
|
# tab-width: 8
|
|
# End:
|
|
# vi: set tabstop=8 noexpandtab:
|