device-tree: generic: Pickup DTB makefile from hardware/nvidia/t264

The path for the t264 DTS repo are hardware/nvidia/t264

Pickup the Makefiles from this new path for building
DTB.

Bug 4459750

Change-Id: I4d799241ab6479c7999a4dd77523d842ac6550f4
Signed-off-by: Sandipan Patra <spatra@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3089965
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux/kernel-devicetree/+/3164879
This commit is contained in:
Sandipan Patra
2024-03-05 18:50:51 +00:00
committed by Laxman Dewangan
parent 5fc4366307
commit a34574ecc9

View File

@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: Copyright (c) 2022-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-FileCopyrightText: Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
objtree ?= $(srctree) objtree ?= $(srctree)
@@ -46,12 +46,15 @@ tegra-rel-dtstree := $(rel-top-path)/hardware/nvidia
DTC_INCLUDE := DTC_INCLUDE :=
# SOC independent common include # SOC independent common include
DTC_INCLUDE += $(tegra-dtstree)/tegra/nv-public DTC_INCLUDE += $(tegra-dtstree)/tegra/nv-public
DTC_INCLUDE += $(tegra-dtstree)/tegra/nv-public/include/kernel
# SOC T23X specific common include # SOC T23X specific common include
DTC_INCLUDE += $(tegra-dtstree)/t23x/nv-public/include/kernel DTC_INCLUDE += $(tegra-dtstree)/t23x/nv-public/include/kernel
DTC_INCLUDE += $(tegra-dtstree)/t23x/nv-public/include/nvidia-oot DTC_INCLUDE += $(tegra-dtstree)/t23x/nv-public/include/nvidia-oot
DTC_INCLUDE += $(tegra-dtstree)/t23x/nv-public/include/platforms DTC_INCLUDE += $(tegra-dtstree)/t23x/nv-public/include/platforms
DTC_INCLUDE += $(tegra-dtstree)/t23x/nv-public DTC_INCLUDE += $(tegra-dtstree)/t23x/nv-public
DTC_INCLUDE += $(tegra-dtstree)/t264/nv-public/include/kernel-t264
DTC_INCLUDE += $(tegra-dtstree)/t264/nv-public
dtb-y := dtb-y :=
dtbo-y := dtbo-y :=
@@ -60,6 +63,7 @@ DTB_LIST := $(dtb-y)
DTBO_LIST := $(dtbo-y) DTBO_LIST := $(dtbo-y)
dtb-y := dtb-y :=
fdts := $(tegra-dtstree)/t23x fdts := $(tegra-dtstree)/t23x
fdts += $(tegra-dtstree)/t264
kdts := $(fdts) kdts := $(fdts)
dts_makefile=$(foreach d,$(wildcard $1*), $(call dts_makefile,$(d)/,$(2)) $(if $(findstring Makefile,$(d)),$(d))) dts_makefile=$(foreach d,$(wildcard $1*), $(call dts_makefile,$(d)/,$(2)) $(if $(findstring Makefile,$(d)),$(d)))
dts_mfiles = $(call dts_makefile, $(kdts), Makefile) dts_mfiles = $(call dts_makefile, $(kdts), Makefile)