From 40abcf46b7283beecb335c6bc23cd609392de1b3 Mon Sep 17 00:00:00 2001 From: Stephen Warren Date: Mon, 6 Nov 2017 14:53:42 -0700 Subject: [PATCH] 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/host1x/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/host1x/Makefile b/drivers/gpu/host1x/Makefile index 0d61d12a..87be3871 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 \