summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2022-01-29 01:57:37 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-02-12 17:05:35 +0000
commit8e4f151317a9591b12e9c0c783e73c916ac9c166 (patch)
treef0a9fb5dc071fedcdb310c25ad6b5f241eb206db /meta
parent2e5720c5736989041eedff4d5525e41fed6343ba (diff)
downloadpoky-8e4f151317a9591b12e9c0c783e73c916ac9c166.tar.gz
kernel-fitimage: Add missing dependency for UBOOT_ENV
For $UBOOT_ENV file to appear in sysroot, virtual/bootloader must populate sysroot first. Add the missing dependency. (From OE-Core rev: 77d96b70f37b70dde65cf31f917c9f524fa7016a) Signed-off-by: Marek Vasut <marex@denx.de> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/kernel-fitimage.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass
index b0c971b0eb..c16977c477 100644
--- a/meta/classes/kernel-fitimage.bbclass
+++ b/meta/classes/kernel-fitimage.bbclass
@@ -36,6 +36,10 @@ python __anonymous () {
36 if image: 36 if image:
37 d.appendVarFlag('do_assemble_fitimage_initramfs', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete') 37 d.appendVarFlag('do_assemble_fitimage_initramfs', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete')
38 38
39 ubootenv = d.getVar('UBOOT_ENV')
40 if ubootenv:
41 d.appendVarFlag('do_assemble_fitimage', 'depends', ' virtual/bootloader:do_populate_sysroot')
42
39 #check if there are any dtb providers 43 #check if there are any dtb providers
40 providerdtb = d.getVar("PREFERRED_PROVIDER_virtual/dtb") 44 providerdtb = d.getVar("PREFERRED_PROVIDER_virtual/dtb")
41 if providerdtb: 45 if providerdtb: