The do_install task from u-boot.inc, expects to find ${SPL_BINARY} into ${B}, while for some platforms, including Rockchip, this binary is generated under the spl directory. Extend the compile task to copy ${SPL_BINARY} to the defaut search path and make the build process work.
Signed-off-by: Romain Perier <romain.per...@collabora.com> --- recipes-bsp/u-boot/u-boot_%.bbappend | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 recipes-bsp/u-boot/u-boot_%.bbappend diff --git a/recipes-bsp/u-boot/u-boot_%.bbappend b/recipes-bsp/u-boot/u-boot_%.bbappend new file mode 100644 index 0000000..efa5eae --- /dev/null +++ b/recipes-bsp/u-boot/u-boot_%.bbappend @@ -0,0 +1,8 @@ +# Copyright (C) 2017 Romain Perier <romain.per...@collabora.com> +# Released under the MIT license (see COPYING.MIT for the terms) + +do_compile_append () { + # Copy spl to default search path, so do_install from u-boot.inc + # works + cp ${B}/spl/${SPL_BINARY} ${B}/ +} -- 1.8.3.1 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto