nvgpu-t18x: use tegra-path for t18x project

Use the tegra-path function to compute the path to the t18x project.
This allows the file to be unmodified if the nvmap project is collaped
into the main project.

Bug 1783210

Signed-off-by: dmitry pervushin <dpervushin@nvidia.com>
Change-Id: I04e8311fda5ba7984f0985c9abec63beb1b38c74
Reviewed-on: http://git-master/r/1177101
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-on: http://git-master/r/1178718
Tested-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Reviewed-on: http://git-master/r/1189710
GVS: Gerrit_Virtual_Submit
This commit is contained in:
dmitry pervushin
2016-07-07 20:08:29 +02:00
committed by Deepak Nibade
parent c88a9e9260
commit 233df0927b

View File

@@ -1,4 +1,4 @@
nvgpu-t18x := ../../../../nvgpu-t18x/drivers/gpu/nvgpu
nvgpu-t18x := $(call tegra-path,nvgpu-t18x,drivers/gpu/nvgpu)
nvgpu-y += \
$(nvgpu-t18x)/gp10b/gr_gp10b.o \