From 9aec9410d7338fe1070e295005ebb17b2bff48e9 Mon Sep 17 00:00:00 2001 From: Philip Elcan Date: Thu, 18 Oct 2018 13:59:22 -0400 Subject: [PATCH] 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 Reviewed-on: https://git-master.nvidia.com/r/1930006 Reviewed-by: Alex Waterman Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom Reviewed-by: mobile promotions Tested-by: mobile promotions --- userspace/units/Makefile.units.common.interface.tmk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userspace/units/Makefile.units.common.interface.tmk b/userspace/units/Makefile.units.common.interface.tmk index c34f48303..2155cf8c5 100644 --- a/userspace/units/Makefile.units.common.interface.tmk +++ b/userspace/units/Makefile.units.common.interface.tmk @@ -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