From 629ade0daaa5b8a3c24dbeadc2a5fb046d4dbbf4 Mon Sep 17 00:00:00 2001 From: Stephen Warren Date: Mon, 6 Nov 2017 14:53:42 -0700 Subject: nvidia: use $(srctree.$(overlay)) Update all Makefiles to make use of the new srctree.$(overlay) variables to remove hard-coding the path to any overlays. One direct reference remains in a hard-coded include statement in drivers/misc/tegra-cec/. Bug 1978395 Change-Id: I5cdce04e019567a9bbfffaf0e92a61bd16806e99 Signed-off-by: Stephen Warren Reviewed-on: https://git-master.nvidia.com/r/1593800 Reviewed-by: Alexander Van Brunt GVS: Gerrit_Virtual_Submit Reviewed-by: Bitan Biswas Reviewed-by: Timo Alho Tested-by: Timo Alho Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/drm/tegra/Makefile | 2 +- drivers/gpu/host1x/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/gpu') diff --git a/drivers/gpu/drm/tegra/Makefile b/drivers/gpu/drm/tegra/Makefile index 601d67886..2156322fe 100644 --- a/drivers/gpu/drm/tegra/Makefile +++ b/drivers/gpu/drm/tegra/Makefile @@ -1,5 +1,5 @@ ccflags-y += -Idrivers/gpu/drm/tegra -ccflags-y += -I../nvidia/drivers/gpu/drm/tegra +ccflags-y += -I$(srctree.nvidia)/drivers/gpu/drm/tegra tegra-drm-t186-y = \ vic_t186.o \ diff --git a/drivers/gpu/host1x/Makefile b/drivers/gpu/host1x/Makefile index 0d61d12a6..87be3871c 100644 --- a/drivers/gpu/host1x/Makefile +++ b/drivers/gpu/host1x/Makefile @@ -1,5 +1,5 @@ ccflags-y += -Idrivers/gpu/host1x -ccflags-y += -I../nvidia/drivers/gpu/host1x +ccflags-y += -I$(srctree.nvidia)/drivers/gpu/host1x host1x-t186-y = \ dev_t186.o \ -- cgit v1.2.2