From de33b2ad20ca7af7b728c0d1806e1890eda5893d Mon Sep 17 00:00:00 2001 From: dchvs Date: Tue, 16 Feb 2021 17:06:17 -0600 Subject: [PATCH] fixup: Include Driver to Kernel --- kernel/kernel-4.9/Makefile | 2 +- kernel/kernel-4.9/arch/arm64/boot/dts/Makefile | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/kernel/kernel-4.9/Makefile b/kernel/kernel-4.9/Makefile index 4b20e449c..30a63dd6b 100644 --- a/kernel/kernel-4.9/Makefile +++ b/kernel/kernel-4.9/Makefile @@ -5,7 +5,7 @@ KERNEL_OVERLAYS += $(CURDIR)/../nvgpu KERNEL_OVERLAYS += $(CURDIR)/../nvgpu-next KERNEL_OVERLAYS += $(CURDIR)/../nvidia-t23x LI_MT9M021_KERNEL_PATH=./li-mt9m021/kernel/nvidia-spiri -KERNEL_OVERLAYS += $(CURDIR)/../../$(LI_MT9M021_KERNEL_PATH) +KERNEL_OVERLAYS += $(CURDIR)/../../../drivers/$(LI_MT9M021_KERNEL_PATH) else override KERNEL_OVERLAYS := $(subst :, ,$(KERNEL_OVERLAYS)) endif diff --git a/kernel/kernel-4.9/arch/arm64/boot/dts/Makefile b/kernel/kernel-4.9/arch/arm64/boot/dts/Makefile index 1fee2accf..7c8b7103e 100644 --- a/kernel/kernel-4.9/arch/arm64/boot/dts/Makefile +++ b/kernel/kernel-4.9/arch/arm64/boot/dts/Makefile @@ -99,8 +99,10 @@ DTBO_LIST += $(dtbo-y) DTBO_NEW_RULE_LIST := $(dtbo-y) ######### Include RidgeRun -LI_MT9M021_PATH=$(tegra-rel-dtstree)/../source/li-mt9m021/hardware/nvidia-spiri -LI_MT9M021_MAKEFILE_PATH=$(tegra-dtstree)/../../li-mt9m021/hardware/nvidia-spiri/platform/ +LI_MT9M021_PATH=$(tegra-rel-dtstree)/../../source/drivers/li-mt9m021/hardware/nvidia-spiri +LI_MT9M021_MAKEFILE_PATH=$(tegra-dtstree)/../../../drivers/li-mt9m021/hardware/nvidia-spiri/platform/ +#LI_MT9M021_PATH=$(tegra-rel-dtstree)/../source/li-mt9m021/hardware/nvidia-spiri +#LI_MT9M021_MAKEFILE_PATH=$(tegra-dtstree)/../../li-mt9m021/hardware/nvidia-spiri/platform/ dtb-y := dts_makefile=$(foreach d,$(wildcard $1*), $(call dts_makefile,$(d)/,$(2)) $(if $(findstring Makefile,$(d)),$(d)))