mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
device-tree: generic: Add support to scan DT of internal SoCs
Add the support to build the DT of internal SoCs without adding direct name from the Makefile but passed from the make command. This will help to make the DT of all internal SoCs. Bug 4197981 Change-Id: I03c55cef5903a814a20d6f86d8ecfffe552daf29 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2982406 GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
ed3fdebc33
commit
ac4912cb26
@@ -61,6 +61,11 @@ DTBO_LIST := $(dtbo-y)
|
|||||||
dtb-y :=
|
dtb-y :=
|
||||||
fdts := $(tegra-dtstree)/t23x
|
fdts := $(tegra-dtstree)/t23x
|
||||||
|
|
||||||
|
# Add internal SOCs to scan the DT makefiles
|
||||||
|
ifneq ($(internal_soc_list),)
|
||||||
|
fdts += $(addprefix $(tegra-dtstree)/,$(internal_soc_list))
|
||||||
|
endif
|
||||||
|
|
||||||
# Remove the DTs from protected soc list
|
# Remove the DTs from protected soc list
|
||||||
ifneq ($(protected_soc_list),)
|
ifneq ($(protected_soc_list),)
|
||||||
kdts := $(foreach dt_path, $(fdts), $(if $(filter $(protected_soc_list),$(patsubst -,$(space),$(subst /, $(space),$(dt_path)))),,$(dt_path)))
|
kdts := $(foreach dt_path, $(fdts), $(if $(filter $(protected_soc_list),$(patsubst -,$(space),$(subst /, $(space),$(dt_path)))),,$(dt_path)))
|
||||||
|
|||||||
Reference in New Issue
Block a user