summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/Makefile
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2018-01-29 12:33:57 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2018-02-06 08:21:37 -0500
commitd6ce4f7fb4bb9e6f393ff0f938b3ad8375163983 (patch)
tree4e9f1f8ee56df698ff24b31cb9ac316a25af5dc9 /drivers/gpu/nvgpu/Makefile
parent5cb742d228c6816e7fdd1220f4b4ee3378abf3dc (diff)
gpu: nvgpu: Build iGPU files only on Tegra
Build files specific to iGPU in common/linux only when iGPU is supported. JIRa NVGPU-4 Change-Id: I227fc6fd41729088281d5c0c8cde5a963ba18f6a Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1648064 Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Konsta Holtta <kholtta@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/Makefile')
-rw-r--r--drivers/gpu/nvgpu/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/Makefile b/drivers/gpu/nvgpu/Makefile
index d887f67b..c99a48dc 100644
--- a/drivers/gpu/nvgpu/Makefile
+++ b/drivers/gpu/nvgpu/Makefile
@@ -20,8 +20,6 @@ ccflags-y += -D__NVGPU_PREVENT_UNTRUSTED_SPECULATION
20obj-$(CONFIG_GK20A) := nvgpu.o 20obj-$(CONFIG_GK20A) := nvgpu.o
21 21
22nvgpu-y := \ 22nvgpu-y := \
23 common/linux/module.o \
24 common/linux/module_usermode.o \
25 common/linux/kmem.o \ 23 common/linux/kmem.o \
26 common/linux/timers.o \ 24 common/linux/timers.o \
27 common/linux/ioctl.o \ 25 common/linux/ioctl.o \
@@ -34,8 +32,6 @@ nvgpu-y := \
34 common/linux/cond.o \ 32 common/linux/cond.o \
35 common/linux/nvgpu_mem.o \ 33 common/linux/nvgpu_mem.o \
36 common/linux/dma.o \ 34 common/linux/dma.o \
37 common/linux/soc.o \
38 common/linux/fuse.o \
39 common/linux/driver_common.o \ 35 common/linux/driver_common.o \
40 common/linux/firmware.o \ 36 common/linux/firmware.o \
41 common/linux/thread.o \ 37 common/linux/thread.o \
@@ -155,6 +151,10 @@ nvgpu-$(CONFIG_GK20A_CTXSW_TRACE) += \
155 common/linux/ctxsw_trace.o 151 common/linux/ctxsw_trace.o
156 152
157nvgpu-$(CONFIG_TEGRA_GK20A) += \ 153nvgpu-$(CONFIG_TEGRA_GK20A) += \
154 common/linux/module.o \
155 common/linux/module_usermode.o \
156 common/linux/soc.o \
157 common/linux/fuse.o \
158 common/linux/platform_gk20a_tegra.o \ 158 common/linux/platform_gk20a_tegra.o \
159 common/linux/platform_gp10b_tegra.o \ 159 common/linux/platform_gp10b_tegra.o \
160 common/linux/platform_gv11b_tegra.o 160 common/linux/platform_gv11b_tegra.o