diff options
-rw-r--r-- | meta/classes-recipe/kernel-fitimage.bbclass | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/meta/classes-recipe/kernel-fitimage.bbclass b/meta/classes-recipe/kernel-fitimage.bbclass index bd2e371b63..22356fe567 100644 --- a/meta/classes-recipe/kernel-fitimage.bbclass +++ b/meta/classes-recipe/kernel-fitimage.bbclass | |||
@@ -41,10 +41,6 @@ python __anonymous () { | |||
41 | if image: | 41 | if image: |
42 | d.appendVarFlag('do_assemble_fitimage_initramfs', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete') | 42 | d.appendVarFlag('do_assemble_fitimage_initramfs', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete') |
43 | 43 | ||
44 | ubootenv = d.getVar('UBOOT_ENV') | ||
45 | if ubootenv: | ||
46 | d.appendVarFlag('do_assemble_fitimage', 'depends', ' virtual/bootloader:do_populate_sysroot') | ||
47 | |||
48 | #check if there are any dtb providers | 44 | #check if there are any dtb providers |
49 | providerdtb = d.getVar("PREFERRED_PROVIDER_virtual/dtb") | 45 | providerdtb = d.getVar("PREFERRED_PROVIDER_virtual/dtb") |
50 | if providerdtb: | 46 | if providerdtb: |
@@ -607,15 +603,6 @@ fitimage_assemble() { | |||
607 | # Step 3: Prepare a u-boot script section | 603 | # Step 3: Prepare a u-boot script section |
608 | # | 604 | # |
609 | 605 | ||
610 | if [ -n "${UBOOT_ENV}" ] && [ -d "${STAGING_DIR_HOST}/boot" ]; then | ||
611 | if [ -e "${STAGING_DIR_HOST}/boot/${UBOOT_ENV_BINARY}" ]; then | ||
612 | cp ${STAGING_DIR_HOST}/boot/${UBOOT_ENV_BINARY} ${B} | ||
613 | bootscr_id="${UBOOT_ENV_BINARY}" | ||
614 | fitimage_emit_section_boot_script $1 "$bootscr_id" ${UBOOT_ENV_BINARY} | ||
615 | else | ||
616 | bbwarn "${STAGING_DIR_HOST}/boot/${UBOOT_ENV_BINARY} not found." | ||
617 | fi | ||
618 | fi | ||
619 | if [ -n "${FIT_UBOOT_ENV}" ]; then | 606 | if [ -n "${FIT_UBOOT_ENV}" ]; then |
620 | cp ${UNPACKDIR}/${FIT_UBOOT_ENV} ${B} | 607 | cp ${UNPACKDIR}/${FIT_UBOOT_ENV} ${B} |
621 | bootscr_id="${FIT_UBOOT_ENV}" | 608 | bootscr_id="${FIT_UBOOT_ENV}" |