diff options
Diffstat (limited to 'meta/classes-recipe/kernel-fitimage.bbclass')
| -rw-r--r-- | meta/classes-recipe/kernel-fitimage.bbclass | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/meta/classes-recipe/kernel-fitimage.bbclass b/meta/classes-recipe/kernel-fitimage.bbclass index 22356fe567..5f1231fde3 100644 --- a/meta/classes-recipe/kernel-fitimage.bbclass +++ b/meta/classes-recipe/kernel-fitimage.bbclass | |||
| @@ -39,7 +39,11 @@ python __anonymous () { | |||
| 39 | 39 | ||
| 40 | image = d.getVar('INITRAMFS_IMAGE') | 40 | image = d.getVar('INITRAMFS_IMAGE') |
| 41 | if image: | 41 | if image: |
| 42 | d.appendVarFlag('do_assemble_fitimage_initramfs', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete') | 42 | if d.getVar('INITRAMFS_MULTICONFIG'): |
| 43 | mc = d.getVar('BB_CURRENT_MC') | ||
| 44 | d.appendVarFlag('do_assemble_fitimage_initramfs', 'mcdepends', ' mc:' + mc + ':${INITRAMFS_MULTICONFIG}:${INITRAMFS_IMAGE}:do_image_complete') | ||
| 45 | else: | ||
| 46 | d.appendVarFlag('do_assemble_fitimage_initramfs', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete') | ||
| 43 | 47 | ||
| 44 | #check if there are any dtb providers | 48 | #check if there are any dtb providers |
| 45 | providerdtb = d.getVar("PREFERRED_PROVIDER_virtual/dtb") | 49 | providerdtb = d.getVar("PREFERRED_PROVIDER_virtual/dtb") |
| @@ -624,7 +628,7 @@ fitimage_assemble() { | |||
| 624 | # Find and use the first initramfs image archive type we find | 628 | # Find and use the first initramfs image archive type we find |
| 625 | found= | 629 | found= |
| 626 | for img in ${FIT_SUPPORTED_INITRAMFS_FSTYPES}; do | 630 | for img in ${FIT_SUPPORTED_INITRAMFS_FSTYPES}; do |
| 627 | initramfs_path="${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.$img" | 631 | initramfs_path="${INITRAMFS_DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.$img" |
| 628 | if [ -e "$initramfs_path" ]; then | 632 | if [ -e "$initramfs_path" ]; then |
| 629 | bbnote "Found initramfs image: $initramfs_path" | 633 | bbnote "Found initramfs image: $initramfs_path" |
| 630 | found=true | 634 | found=true |
