Hello,

It seems that the subject commit breaks ptxd_make_dtb() (for me at least).

ptxd_make_dtb()is using the variable dtb_kernel_dir to locate both the dtc 
script and the dts files.
The dtc command needs to be from the build tree yet the dts files will be 
from the src tree.  If building the kernel OOT this causes the dtc command 
to not be found.

The patch that fixes it for me is below but I cant tell if that breaks the 
original intent.

--- a/scripts/lib/ptxd_make_world_dtb.sh
+++ b/scripts/lib/ptxd_make_world_dtb.sh
@@ -14,7 +14,7 @@
 
     dtb_kernel_dir="${pkg_kernel_src:-${pkg_dir}}"
 
-    dtc="${dtb_kernel_dir}/scripts/dtc/dtc"
+    dtc="${pkg_build_dir}/scripts/dtc/dtc"
     if [ ! -x "${dtc}" ]; then
        dtc=dtc
     fi

Rich OGrady
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de

Reply via email to