From 7970c80152725e1dfc9268ec8c40433cffe04b1a Mon Sep 17 00:00:00 2001 From: Philip Elcan Date: Thu, 13 Sep 2018 16:33:51 -0400 Subject: gpu: nvgpu: unit: move libnvgpu-drv.so This moves the libnvgpu-drv.so file on the systemimage to nvgpu_unit/build so it is in the right spot for the unit test framework. JIRA NVGPU-1042 Change-Id: I93a483d7c6f575c05756d3cd7d7a5b5591f0b8f8 Signed-off-by: Philip Elcan Reviewed-on: https://git-master.nvidia.com/r/1822289 Reviewed-by: svc-misra-checker Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Alex Waterman Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/Makefile.tmk | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'drivers/gpu/nvgpu/Makefile.tmk') diff --git a/drivers/gpu/nvgpu/Makefile.tmk b/drivers/gpu/nvgpu/Makefile.tmk index 5a0d1126..3c73b108 100644 --- a/drivers/gpu/nvgpu/Makefile.tmk +++ b/drivers/gpu/nvgpu/Makefile.tmk @@ -51,6 +51,11 @@ NV_COMPONENT_SYSTEM_SHARED_LIBRARIES += pthread endif NV_COMPONENT_CFLAGS += -D__NVGPU_POSIX__ +NV_COMPONENT_SYSTEMIMAGE_DIR := $(NV_SYSTEMIMAGE_TEST_EXECUTABLE_DIR)/nvgpu_unit +systemimage:: $(NV_COMPONENT_SYSTEMIMAGE_DIR) +$(NV_COMPONENT_SYSTEMIMAGE_DIR) : $(NV_SYSTEMIMAGE_TEST_EXECUTABLE_DIR) + $(MKDIR_P) $@ +NV_COMPONENT_SYSTEMIMAGE_NAME := libnvgpu-drv.so include $(NV_BUILD_SHARED_LIBRARY) endif -- cgit v1.2.2