]> Git Repo - J-u-boot.git/blobdiff - scripts/Makefile.dts
Merge patch series "lmb: rework logic to validate load address for network commands"
[J-u-boot.git] / scripts / Makefile.dts
index 5e2429c6170cafe2dbcedbc2966cffcea982f8e8..790f3c508f19c5d13ded8edcf78adaa888fcdbe9 100644 (file)
@@ -1,3 +1,16 @@
 # SPDX-License-Identifier: GPL-2.0+
 
 dtb-y += $(patsubst %,%.dtb,$(subst ",,$(CONFIG_DEFAULT_DEVICE_TREE) $(CONFIG_OF_LIST) $(CONFIG_SPL_OF_LIST)))
+
+ifeq ($(CONFIG_OF_UPSTREAM_BUILD_VENDOR),y)
+ifeq ($(CONFIG_ARM64),y)
+dt_dir := $(srctree)/dts/upstream/src/arm64
+else
+dt_dir := $(srctree)/dts/upstream/src/$(ARCH)
+endif
+
+dtb-vendor_dts := $(patsubst %.dts,%.dtb,$(wildcard $(dt_dir)/$(subst ",,$(CONFIG_OF_UPSTREAM_VENDOR))/*.dts))
+
+dtb-y += $(subst $(dt_dir)/,,$(dtb-vendor_dts))
+
+endif
This page took 0.028018 seconds and 4 git commands to generate.