mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
device-tree: Make DTS from kernel-dts of hardware/nvidia
The folders hardware/nvidia/platform/t23x contains the platform specific DTS and their makefiles are in kernel-dts. The DT binding used in these DTS are deviated from upstream DT binding. To add the DTS for platforms matching with the mainline DT binding, it is required to compile only the legacy DTS or new DTS. Modify the makefile to compile DTS from kernel-dts folder only which contains the legacy DTS. Bug 3860258 Change-Id: I51866d18e0cd17edaf576f6632579c9999022042 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2804178 GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
071c49bf11
commit
ee194b0505
@@ -44,8 +44,9 @@ dtbo-oot-y :=
|
||||
DTB_LIST := $(dtb-oot-y)
|
||||
DTBO_LIST := $(dtbo-oot-y)
|
||||
dtb-oot-y :=
|
||||
kdts := $(shell find $(tegra-dtstree)/platform/t23x -name kernel-dts)
|
||||
dts_makefile=$(foreach d,$(wildcard $1*), $(call dts_makefile,$(d)/,$(2)) $(if $(findstring Makefile,$(d)),$(d)))
|
||||
dts_mfiles = $(call dts_makefile, $(tegra-dtstree)/platform/t23x, Makefile)
|
||||
dts_mfiles = $(call dts_makefile, $(kdts), Makefile)
|
||||
|
||||
ifneq ($(dts_mfiles),)
|
||||
dts-include :=
|
||||
|
||||
Reference in New Issue
Block a user