mirror of
git://git.yoctoproject.org/meta-rockchip.git
synced 2025-07-19 12:49:03 +02:00
u-boot-rockchip: copy spl binary from the good task
Currently, the spl binary (that is ${SPL_BINARY}) is copied before the install task, as part of a prepended func. The u-boot include in poky, defines the deploy task to be run after the compile task, there is absolutely no order between this deploy task and the install task. In some cases, the install task can be executed after the deploy task, resulting to an error because do_deploy will not find the spl binary in ${B}. This commit, move the copy of the spl binary after the compile task. Signed-off-by: Romain Perier <romain.perier@collabora.com> Tested-by: Trevor Woerner <twoerner@gmail.com>
This commit is contained in:
parent
64a79b3bcc
commit
d5566d1ad7
|
@ -18,7 +18,7 @@ SRC_URI = " \
|
|||
SRCREV = "${AUTOREV}"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
do_install_prepend () {
|
||||
# copy to default search path
|
||||
cp ${B}/spl/${SPL_BINARY} ${B}/
|
||||
do_compile_append () {
|
||||
# copy to default search path
|
||||
cp ${B}/spl/${SPL_BINARY} ${B}/
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user