According to the Yocto Recipe Style Guide[1] the tasks should be at the end.

[1] https://docs.yoctoproject.org/dev/contributor-guide/recipe-style-guide.html

Signed-off-by: Trevor Woerner <[email protected]>
---
 recipes-bsp/u-boot/u-boot%.bbappend | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/recipes-bsp/u-boot/u-boot%.bbappend 
b/recipes-bsp/u-boot/u-boot%.bbappend
index f7800625aaf1..c8444aacad89 100644
--- a/recipes-bsp/u-boot/u-boot%.bbappend
+++ b/recipes-bsp/u-boot/u-boot%.bbappend
@@ -1,10 +1,3 @@
-do_compile:append:rock2-square () {
-       # copy to default search path
-       if [ "${SPL_BINARY}" = "u-boot-spl-dtb.bin" ]; then
-               cp ${B}/spl/${SPL_BINARY} ${B}
-       fi
-}
-
 DEPENDS:append:rock-pi-4 = " gnutls-native"
 # various machines require the pyelftools library for parsing dtb files
 DEPENDS:append = " python3-pyelftools-native"
@@ -25,3 +18,10 @@ EXTRA_OEMAKE:append:px30 = " 
BL31=${DEPLOY_DIR_IMAGE}/bl31-px30.elf"
 INIT_FIRMWARE_DEPENDS:px30 = " trusted-firmware-a:do_deploy"
 
 do_compile[depends] .= "${INIT_FIRMWARE_DEPENDS}"
+
+do_compile:append:rock2-square () {
+       # copy to default search path
+       if [ "${SPL_BINARY}" = "u-boot-spl-dtb.bin" ]; then
+               cp ${B}/spl/${SPL_BINARY} ${B}
+       fi
+}
-- 
2.41.0.327.gaa9166bcc0ba

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#61204): https://lists.yoctoproject.org/g/yocto/message/61204
Mute This Topic: https://lists.yoctoproject.org/mt/101725919/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to