diff options
Diffstat (limited to 'meta/classes-recipe/kernel-uimage.bbclass')
-rw-r--r-- | meta/classes-recipe/kernel-uimage.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes-recipe/kernel-uimage.bbclass b/meta/classes-recipe/kernel-uimage.bbclass index 1a599e656c..e353232a0e 100644 --- a/meta/classes-recipe/kernel-uimage.bbclass +++ b/meta/classes-recipe/kernel-uimage.bbclass | |||
@@ -29,6 +29,7 @@ python __anonymous () { | |||
29 | do_uboot_mkimage[dirs] += "${B}" | 29 | do_uboot_mkimage[dirs] += "${B}" |
30 | do_uboot_mkimage() { | 30 | do_uboot_mkimage() { |
31 | uboot_prep_kimage | 31 | uboot_prep_kimage |
32 | linux_comp="$(cat linux_comp)" | ||
32 | 33 | ||
33 | ENTRYPOINT=${UBOOT_ENTRYPOINT} | 34 | ENTRYPOINT=${UBOOT_ENTRYPOINT} |
34 | if [ -n "${UBOOT_ENTRYSYMBOL}" ]; then | 35 | if [ -n "${UBOOT_ENTRYSYMBOL}" ]; then |
@@ -36,6 +37,6 @@ do_uboot_mkimage() { | |||
36 | awk '$3=="${UBOOT_ENTRYSYMBOL}" {print "0x"$1;exit}'` | 37 | awk '$3=="${UBOOT_ENTRYSYMBOL}" {print "0x"$1;exit}'` |
37 | fi | 38 | fi |
38 | 39 | ||
39 | uboot-mkimage -A ${UBOOT_ARCH} -O linux -T ${UBOOT_MKIMAGE_KERNEL_TYPE} -C "${linux_comp}" -a ${UBOOT_LOADADDRESS} -e $ENTRYPOINT -n "${DISTRO_NAME}/${PV}/${MACHINE}" -d linux.bin ${B}/arch/${ARCH}/boot/uImage | 40 | uboot-mkimage -A ${UBOOT_ARCH} -O linux -T ${UBOOT_MKIMAGE_KERNEL_TYPE} -C "$linux_comp" -a ${UBOOT_LOADADDRESS} -e $ENTRYPOINT -n "${DISTRO_NAME}/${PV}/${MACHINE}" -d linux.bin ${B}/arch/${ARCH}/boot/uImage |
40 | rm -f linux.bin | 41 | rm -f linux.bin |
41 | } | 42 | } |