diff options
| author | Tom Rini <[email protected]> | 2023-07-10 14:29:14 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-07-10 14:29:14 -0400 |
| commit | 146a82c017d51eb2c3b8be33854f200f1e52a1cb (patch) | |
| tree | c2bb134d105bcc9855e6c39ac5b422e5416735ff /scripts/Makefile.lib | |
| parent | 05aa6516c6bb419d01d69fac457c0de563bfd694 (diff) | |
| parent | 76c61f29d63163d178b1584ecc9fc2c96c538ff0 (diff) | |
Merge branch 'next'
Diffstat (limited to 'scripts/Makefile.lib')
| -rw-r--r-- | scripts/Makefile.lib | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 7b27224b5d4..f5ab7af0f45 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -186,7 +186,7 @@ u_boot_dtsi = $(strip $(u_boot_dtsi_options_debug) \ # Modified for U-Boot dtc_cpp_flags = -Wp,-MD,$(depfile).pre.tmp -nostdinc \ $(UBOOTINCLUDE) \ - -I$(srctree)/arch/$(ARCH)/dts \ + -I$(dir $<) \ -I$(srctree)/arch/$(ARCH)/dts/include \ -I$(srctree)/include \ -D__ASSEMBLY__ \ @@ -331,7 +331,7 @@ cmd_dtc = mkdir -p $(dir ${dtc-tmp}) ; \ ; \ sed "s:$(pre-tmp):$(<):" $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile) -$(obj)/%.dtb: $(src)/%.dts FORCE +$(obj)/%.dtb: $(src)/%.dts $(DTC) FORCE $(call if_changed_dep,dtc) pre-tmp = $(subst $(comma),_,$(dot-target).pre.tmp) @@ -351,7 +351,10 @@ cmd_dtco = mkdir -p $(dir ${dtc-tmp}) ; \ -d $(depfile).dtc.tmp $(dtc-tmp) ; \ cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile) -$(obj)/%.dtbo: $(src)/%.dts FORCE +$(obj)/%.dtbo: $(src)/%.dts $(DTC) FORCE + $(call if_changed_dep,dtco) + +$(obj)/%.dtbo: $(src)/%.dtso $(DTC) FORCE $(call if_changed_dep,dtco) # Fonts |
