gpu: nvgpu: UT framework changes for QNX

Remove the linking of unit test framework library with
libnvgpu_drv.so.  The posix probe and close functions are
referenced using dl symbols.

Jira NVGPU-3837

Change-Id: I4af378c060d2606a8796ff28300c79bbe9e4b237
Signed-off-by: ajesh <akv@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2137794
GVS: Gerrit_Virtual_Submit
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Tested-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
ajesh
2019-06-18 10:04:09 +05:30
committed by mobile promotions
parent 9a642175d7
commit bda3f066e7

View File

@@ -100,8 +100,6 @@ NV_COMPONENT_SOURCES := \
NV_COMPONENT_INCLUDES := \ NV_COMPONENT_INCLUDES := \
$(NVGPU_UNIT_COMMON_INCLUDES) $(NVGPU_UNIT_COMMON_INCLUDES)
NV_COMPONENT_NEEDED_INTERFACE_DIRS := ../drivers/gpu/nvgpu
ifneq ($(NV_BUILD_CONFIGURATION_OS_IS_QNX),1) ifneq ($(NV_BUILD_CONFIGURATION_OS_IS_QNX),1)
NV_COMPONENT_SYSTEM_SHARED_LIBRARIES += pthread NV_COMPONENT_SYSTEM_SHARED_LIBRARIES += pthread
NV_COMPONENT_SYSTEM_SHARED_LIBRARIES += dl NV_COMPONENT_SYSTEM_SHARED_LIBRARIES += dl