diff options
Diffstat (limited to 'drivers/gpu/nvgpu/Makefile.tmk')
-rw-r--r-- | drivers/gpu/nvgpu/Makefile.tmk | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/Makefile.tmk b/drivers/gpu/nvgpu/Makefile.tmk new file mode 100644 index 00000000..25775d39 --- /dev/null +++ b/drivers/gpu/nvgpu/Makefile.tmk | |||
@@ -0,0 +1,34 @@ | |||
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 | include $(NV_COMPONENT_DIR)/Makefile.sources | ||
19 | |||
20 | NV_COMPONENT_NAME := nvgpu-drv | ||
21 | NV_COMPONENT_OWN_INTERFACE_DIR := . | ||
22 | NV_COMPONENT_SOURCES := $(srcs) | ||
23 | NV_COMPONENT_INCLUDES := . include ../../../include | ||
24 | NV_COMPONENT_SYSTEM_SHARED_LIBRARIES += pthread | ||
25 | NV_COMPONENT_CFLAGS += -D__NVGPU_POSIX__ | ||
26 | |||
27 | include $(NV_BUILD_SHARED_LIBRARY) | ||
28 | endif | ||
29 | |||
30 | # Local Variables: | ||
31 | # indent-tabs-mode: t | ||
32 | # tab-width: 8 | ||
33 | # End: | ||
34 | # vi: set tabstop=8 noexpandtab: | ||