diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2022-02-11 08:18:12 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2022-02-11 08:18:20 +0100 |
commit | eb4331e7d82a871d5c5e519bb4c5ae4e123c52e1 (patch) | |
tree | f8c237005bd67c2ae8574e637e1a305ab7f250f4 /scripts | |
parent | f59f929a089be2fa9166a78361472232a334b0ee (diff) | |
download | ptxdist-eb4331e7d82a871d5c5e519bb4c5ae4e123c52e1.tar.gz ptxdist-eb4331e7d82a871d5c5e519bb4c5ae4e123c52e1.tar.xz |
ptxd_make_dtb: fix dtc selection
The dtc is located in the build dir not the source dir of the kernel.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/ptxd_make_world_dtb.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/lib/ptxd_make_world_dtb.sh b/scripts/lib/ptxd_make_world_dtb.sh index f78d2f885..f2eee99e4 100644 --- a/scripts/lib/ptxd_make_world_dtb.sh +++ b/scripts/lib/ptxd_make_world_dtb.sh @@ -12,9 +12,10 @@ ptxd_make_dtb() { dts="${dtb_source}" dtb="${dtb_target}" - dtb_kernel_dir="${pkg_kernel_src:-${pkg_dir}}" + dtb_kernel_dir="${pkg_kernel_dir:-${pkg_dir}}" + dtb_kernel_build_dir="${pkg_kernel_build_dir:-${pkg_build_dir}}" - dtc="${dtb_kernel_dir}/scripts/dtc/dtc" + dtc="${dtb_kernel_build_dir}/scripts/dtc/dtc" if [ ! -x "${dtc}" ]; then dtc=dtc fi |