By inheriting the intermediate-deploy.bbclass the installed binaries in /boot
can be used by dependant recipes for post-processing via
DEPENDS and ${RECIPE_SYSROOT}/intermediate-deploy/boot/u-boot.bin instead of
task[depends]= "u-boot:do_deploy" and ${DEPLOY_DIR_IMAGE}/u-boot.bin.

Change-Id: I0cf02eb0ff54b636f57c7ce752366d67164fa1e0
---
 meta/recipes-bsp/u-boot/u-boot.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-bsp/u-boot/u-boot.inc 
b/meta/recipes-bsp/u-boot/u-boot.inc
index 251178db33..15554387ce 100644
--- a/meta/recipes-bsp/u-boot/u-boot.inc
+++ b/meta/recipes-bsp/u-boot/u-boot.inc
@@ -7,6 +7,9 @@ DEPENDS += "kern-tools-native"

 inherit uboot-config uboot-extlinux-config uboot-sign deploy cml1 python3native

+inherit intermediate-deploy
+INTERMEDIATE_DEPLOY_DIRS = "/boot"
+
 DEPENDS += "swig-native"

 EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc 
${TOOLCHAIN_OPTIONS}" V=1'
--
2.17.1

IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#146678): 
https://lists.openembedded.org/g/openembedded-core/message/146678
Mute This Topic: https://lists.openembedded.org/mt/79671199/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to