summaryrefslogtreecommitdiff
path: root/scripts/Makefile.lib
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Makefile.lib')
-rw-r--r--scripts/Makefile.lib2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 377a4700b94..7386353e0cc 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -437,6 +437,8 @@ cmd_dtc_diff = \
$(DTC) -s -O dts -o [email protected] -b 0 \
-i $(dir $<) -i $(u_boot_dtsi_loc) $(DTC_FLAGS) $(dtc-tmp) || \
(echo "Check $(shell pwd)/$(pre-tmp) for errors" && false); \
+ sed -i '/\<phandle\> = <0x[0-9a-f]\+>;/ d' [email protected]; \
+ sed -i '/\<phandle\> = <0x[0-9a-f]\+>;/ d' [email protected]; \
dtn-tmp = $(subst $(comma),_,$(dot-target).dtn.tmp)