gpu: nvgpu: unit: update path for unit export file

The template tmake makefile for the unit test shared object interface
was using a relative path based on the component to find the common
export file. This uses a path relative to the project source path. This
allows multi-level directories for the unit tests (e.g.
../units/mm/nvgpu_allocator/).

Change-Id: Iff8d6419eec9fe8877f5ce8111a6045a10289dc9
Signed-off-by: Philip Elcan <pelcan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1930006
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Philip Elcan
2018-10-18 13:59:22 -04:00
committed by mobile promotions
parent 12639cb56c
commit 9aec9410d7

View File

@@ -14,7 +14,7 @@
ifdef NV_INTERFACE_FLAG_SHARED_LIBRARY_SECTION
NV_INTERFACE_NAME := $(NVGPU_UNIT_NAME)
NV_INTERFACE_EXPORTS := $(NV_COMPONENT_DIR)/../nvgpu_unit.common
NV_INTERFACE_EXPORTS := $(NV_SOURCE)/kernel/nvgpu/userspace/units/nvgpu_unit.common
NV_INTERFACE_PUBLIC_INCLUDES := . include
endif