From 005e277adc0c77e657e587b7a71636797ffedf69 Mon Sep 17 00:00:00 2001 From: dmitry pervushin Date: Mon, 4 Jul 2016 16:39:39 +0200 Subject: [PATCH] nvgpu: rename Makefile to Makefile.nvgpu Bug 1783210 Signed-off-by: dmitry pervushin Change-Id: I08e3ffb6b59ab145588a5ecf81b6c2346a481628 Reviewed-on: http://git-master/r/1175267 Reviewed-on: http://git-master/r/1177292 GVS: Gerrit_Virtual_Submit Reviewed-by: Alexander Van Brunt Tested-by: Alexander Van Brunt Reviewed-on: http://git-master/r/1183064 --- drivers/gpu/nvgpu/{Makefile => Makefile.nvgpu} | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) rename drivers/gpu/nvgpu/{Makefile => Makefile.nvgpu} (89%) diff --git a/drivers/gpu/nvgpu/Makefile b/drivers/gpu/nvgpu/Makefile.nvgpu similarity index 89% rename from drivers/gpu/nvgpu/Makefile rename to drivers/gpu/nvgpu/Makefile.nvgpu index 1cf2ea379..e3c115c61 100644 --- a/drivers/gpu/nvgpu/Makefile +++ b/drivers/gpu/nvgpu/Makefile.nvgpu @@ -122,10 +122,16 @@ ifeq ($(CONFIG_ARCH_TEGRA_18x_SOC),y) ifneq ($(wildcard $(srctree)/../nvgpu-t18x/drivers/gpu/nvgpu/Makefile),) include $(srctree)/../nvgpu-t18x/drivers/gpu/nvgpu/Makefile endif +ifneq ($(wildcard $(srctree)/../nvgpu-t18x/drivers/gpu/nvgpu/Makefile.nvgpu-t18x),) +include $(srctree)/../nvgpu-t18x/drivers/gpu/nvgpu/Makefile.nvgpu-t18x +endif endif -ifeq ($(CONFIG_TEGRA_19x_GPU),y) +ifeq ($(CONFIG_ARCH_TEGRA_19x_SOC),y) ifneq ($(wildcard $(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu/Makefile),) include $(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu/Makefile endif +ifneq ($(wildcard $(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu/Makefile.nvgpu-t19x),) +include $(srctree)/../nvgpu-t19x/drivers/gpu/nvgpu/Makefile.nvgpu-t19x +endif endif