diff options
Diffstat (limited to 'userspace/units/posix-bitops')
-rw-r--r-- | userspace/units/posix-bitops/Makefile.interface.tmk | 25 | ||||
-rw-r--r-- | userspace/units/posix-bitops/Makefile.tmk | 45 | ||||
-rw-r--r-- | userspace/units/posix-bitops/posix-bitops.export | 3 |
3 files changed, 73 insertions, 0 deletions
diff --git a/userspace/units/posix-bitops/Makefile.interface.tmk b/userspace/units/posix-bitops/Makefile.interface.tmk new file mode 100644 index 00000000..de40c00d --- /dev/null +++ b/userspace/units/posix-bitops/Makefile.interface.tmk | |||
@@ -0,0 +1,25 @@ | |||
1 | ################################### tell Emacs this is a -*- makefile-gmake -*- | ||
2 | # | ||
3 | # Copyright (c) 2018, NVIDIA CORPORATION. All Rights Reserved. | ||
4 | # | ||
5 | # NVIDIA CORPORATION and its licensors retain all intellectual property | ||
6 | # and proprietary rights in and to this software, related documentation | ||
7 | # and any modifications thereto. Any use, reproduction, disclosure or | ||
8 | # distribution of this software and related documentation without an express | ||
9 | # license agreement from NVIDIA CORPORATION is strictly prohibited. | ||
10 | # | ||
11 | # tmake for SW Mobile component makefile | ||
12 | # | ||
13 | ############################################################################### | ||
14 | |||
15 | ifdef NV_INTERFACE_FLAG_SHARED_LIBRARY_SECTION | ||
16 | NV_INTERFACE_NAME := posix-bitops | ||
17 | NV_INTERFACE_EXPORTS := posix-bitops | ||
18 | NV_INTERFACE_PUBLIC_INCLUDES := . include | ||
19 | endif | ||
20 | |||
21 | # Local Variables: | ||
22 | # indent-tabs-mode: t | ||
23 | # tab-width: 8 | ||
24 | # End: | ||
25 | # vi: set tabstop=8 noexpandtab: | ||
diff --git a/userspace/units/posix-bitops/Makefile.tmk b/userspace/units/posix-bitops/Makefile.tmk new file mode 100644 index 00000000..b70bd7bb --- /dev/null +++ b/userspace/units/posix-bitops/Makefile.tmk | |||
@@ -0,0 +1,45 @@ | |||
1 | ################################### tell Emacs this is a -*- makefile-gmake -*- | ||
2 | # | ||
3 | # Copyright (c) 2018 NVIDIA CORPORATION. All Rights Reserved. | ||
4 | # | ||
5 | # NVIDIA CORPORATION and its licensors retain all intellectual property | ||
6 | # and proprietary rights in and to this software, related documentation | ||
7 | # and any modifications thereto. Any use, reproduction, disclosure or | ||
8 | # distribution of this software and related documentation without an express | ||
9 | # license agreement from NVIDIA CORPORATION is strictly prohibited. | ||
10 | # | ||
11 | # tmake for SW Mobile component makefile | ||
12 | # | ||
13 | ############################################################################### | ||
14 | |||
15 | ifdef NV_COMPONENT_FLAG_SHARED_LIBRARY_SECTION | ||
16 | include $(NV_BUILD_START_COMPONENT) | ||
17 | |||
18 | |||
19 | |||
20 | NV_COMPONENT_NAME := posix-bitops | ||
21 | NV_COMPONENT_OWN_INTERFACE_DIR := . | ||
22 | |||
23 | NV_COMPONENT_SOURCES := \ | ||
24 | posix-bitops.c | ||
25 | |||
26 | NV_COMPONENT_CFLAGS += -D__NVGPU_POSIX__ | ||
27 | |||
28 | NV_COMPONENT_NEEDED_INTERFACE_DIRS := \ | ||
29 | $(NV_SOURCE)/kernel/nvgpu/drivers/gpu/nvgpu \ | ||
30 | $(NV_SOURCE)/kernel/nvgpu/userspace | ||
31 | |||
32 | NV_COMPONENT_SYSTEMIMAGE_DIR := $(NV_SYSTEMIMAGE_TEST_EXECUTABLE_DIR)/nvgpu_unit/units | ||
33 | systemimage:: $(NV_COMPONENT_SYSTEMIMAGE_DIR) | ||
34 | $(NV_COMPONENT_SYSTEMIMAGE_DIR) : $(NV_SYSTEMIMAGE_TEST_EXECUTABLE_DIR) | ||
35 | $(MKDIR_P) $@ | ||
36 | |||
37 | include $(NV_BUILD_SHARED_LIBRARY) | ||
38 | |||
39 | endif | ||
40 | |||
41 | # Local Variables: | ||
42 | # indent-tabs-mode: t | ||
43 | # tab-width: 8 | ||
44 | # End: | ||
45 | # vi: set tabstop=8 noexpandtab: | ||
diff --git a/userspace/units/posix-bitops/posix-bitops.export b/userspace/units/posix-bitops/posix-bitops.export new file mode 100644 index 00000000..b039dd36 --- /dev/null +++ b/userspace/units/posix-bitops/posix-bitops.export | |||
@@ -0,0 +1,3 @@ | |||
1 | # Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. | ||
2 | |||
3 | __unit_module__ | ||