gpu: nvgpu: unit: common tmake for posix-bitmap

This updates the tmake Makefiles for posix-bitmap to use the new common
makefiles.

Change-Id: I83f3c750e286c0211976b8d9143cdc05e78a9acb
Signed-off-by: Philip Elcan <pelcan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1916819
GVS: Gerrit_Virtual_Submit
Reviewed-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:
Philip Elcan
2018-10-01 14:52:40 -04:00
committed by Abdul Salam
parent 19f45ae2d9
commit a8dec2fdc3
3 changed files with 5 additions and 32 deletions

View File

@@ -12,11 +12,9 @@
#
###############################################################################
ifdef NV_INTERFACE_FLAG_SHARED_LIBRARY_SECTION
NV_INTERFACE_NAME := posix-bitops
NV_INTERFACE_EXPORTS := posix-bitops
NV_INTERFACE_PUBLIC_INCLUDES := . include
endif
NVGPU_UNIT_NAME=posix-bitops
include $(NV_COMPONENT_DIR)/../Makefile.units.common.interface.tmk
# Local Variables:
# indent-tabs-mode: t

View File

@@ -12,31 +12,9 @@
#
###############################################################################
ifdef NV_COMPONENT_FLAG_SHARED_LIBRARY_SECTION
include $(NV_BUILD_START_COMPONENT)
NVGPU_UNIT_NAME=posix-bitops
NV_COMPONENT_NAME := posix-bitops
NV_COMPONENT_OWN_INTERFACE_DIR := .
NV_COMPONENT_SOURCES := \
posix-bitops.c
NV_COMPONENT_CFLAGS += -D__NVGPU_POSIX__
NV_COMPONENT_NEEDED_INTERFACE_DIRS := \
$(NV_SOURCE)/kernel/nvgpu/drivers/gpu/nvgpu \
$(NV_SOURCE)/kernel/nvgpu/userspace
NV_COMPONENT_SYSTEMIMAGE_DIR := $(NV_SYSTEMIMAGE_TEST_EXECUTABLE_DIR)/nvgpu_unit/units
systemimage:: $(NV_COMPONENT_SYSTEMIMAGE_DIR)
$(NV_COMPONENT_SYSTEMIMAGE_DIR) : $(NV_SYSTEMIMAGE_TEST_EXECUTABLE_DIR)
$(MKDIR_P) $@
include $(NV_BUILD_SHARED_LIBRARY)
endif
include $(NV_COMPONENT_DIR)/../Makefile.units.common.tmk
# Local Variables:
# indent-tabs-mode: t

View File

@@ -1,3 +0,0 @@
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
__unit_module__