From d483e0b1679f9943b22c4a2dbb27c787fa9184db Mon Sep 17 00:00:00 2001 From: Stephen Warren Date: Thu, 14 Sep 2017 10:50:22 -0600 Subject: [PATCH] t19x: use kernel overlay features Update all Kconfig files and Makefiles to rely on the kernel overlay feature. In particular, don't include any Kconfig files or Makefiles from other overlays. -I directives in CFLAGS are not yet cleaned up. Bug 1978395 Change-Id: I5ee70b91c5137dd8b36e0adb56a0763fbf2cb123 Signed-off-by: Stephen Warren Reviewed-on: https://git-master.nvidia.com/r/1561188 GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/video/tegra/host/nvdla/{Makefile.t19x => Makefile} | 4 ++++ 1 file changed, 4 insertions(+) rename drivers/video/tegra/host/nvdla/{Makefile.t19x => Makefile} (89%) diff --git a/drivers/video/tegra/host/nvdla/Makefile.t19x b/drivers/video/tegra/host/nvdla/Makefile similarity index 89% rename from drivers/video/tegra/host/nvdla/Makefile.t19x rename to drivers/video/tegra/host/nvdla/Makefile index 6707cd52..b666b92e 100644 --- a/drivers/video/tegra/host/nvdla/Makefile.t19x +++ b/drivers/video/tegra/host/nvdla/Makefile @@ -1,3 +1,5 @@ +ifdef CONFIG_TEGRA_T19X_GRHOST + GCOV_PROFILE := y ccflags-y += -I$(srctree)/../nvidia/drivers/video/tegra/host ccflags-y += -I$(srctree)/../t19x/drivers/video/tegra/host @@ -11,3 +13,5 @@ nvhost-nvdla-objs = \ nvdla_debug.o obj-$(CONFIG_TEGRA_GRHOST_NVDLA) += nvhost-nvdla.o + +endif