summaryrefslogtreecommitdiff
path: root/scripts/Makefile.lib
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-06-06 10:51:52 -0600
committerTom Rini <[email protected]>2025-06-06 13:54:42 -0600
commite96b6c0c18c29fba63a1ceb21dc29afb9d9b2910 (patch)
tree04e772176fd40abde1faa4b61eb240eb2d6f0d9f /scripts/Makefile.lib
parentde3976531649d950dc4f5a6fa6eb4920f6799e47 (diff)
parente87b5ed9d9f64c8cef9d4c01d32b57b9a77a964d (diff)
Merge patch series "Remove as much arch/arm/dts/*.h as possible"
Tom Rini <[email protected]> says: Taking inspiration from Heiko's patch[1] this series goes and cleans up all of the arch/arm/dts/*.h files that can be easily removed. The big challenge I ran in to here was that for some platforms that aren't using OF_UPSTREAM were didn't have a sufficiently deep search path to find files there rather than arch/arm/dts. This also showed that only ARM had local header files to deal with. [1]: https://lore.kernel.org/u-boot/[email protected]/ Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/Makefile.lib')
-rw-r--r--scripts/Makefile.lib4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index acf780fdd45..19a5be57495 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -205,8 +205,10 @@ dtsi_include_list = $(strip $(u_boot_dtsi_options_debug) \
# Modified for U-Boot
upstream_dtsi_include = $(addprefix -I, $(srctree)/dts/upstream/src/ \
$(sort $(dir $(wildcard $(srctree)/dts/upstream/src/$(ARCH)/*/*))) \
+ $(sort $(dir $(wildcard $(srctree)/dts/upstream/src/$(ARCH)/*/*/*))) \
$(if (CONFIG_ARM64), \
- $(sort $(dir $(wildcard $(srctree)/dts/upstream/src/arm64/*/*)))))
+ $(sort $(dir $(wildcard $(srctree)/dts/upstream/src/arm64/*/*))) \
+ $(sort $(dir $(wildcard $(srctree)/dts/upstream/src/arm64/*/*/*)))))
dtc_cpp_flags = -Wp,-MD,$(depfile).pre.tmp -nostdinc \
$(UBOOTINCLUDE) \
-I$(dir $<) \