mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 18:16:01 +03:00
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:
committed by
Abdul Salam
parent
19f45ae2d9
commit
a8dec2fdc3
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
|
||||
|
||||
__unit_module__
|
||||
Reference in New Issue
Block a user