diff options
Diffstat (limited to 'meta/classes/kernel-uboot.bbclass')
| -rw-r--r-- | meta/classes/kernel-uboot.bbclass | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/classes/kernel-uboot.bbclass b/meta/classes/kernel-uboot.bbclass index b1e7ac05c2..2daa068298 100644 --- a/meta/classes/kernel-uboot.bbclass +++ b/meta/classes/kernel-uboot.bbclass | |||
| @@ -22,7 +22,11 @@ uboot_prep_kimage() { | |||
| 22 | [ -n "${vmlinux_path}" ] && ${OBJCOPY} -O binary -R .note -R .comment -S "${vmlinux_path}" linux.bin | 22 | [ -n "${vmlinux_path}" ] && ${OBJCOPY} -O binary -R .note -R .comment -S "${vmlinux_path}" linux.bin |
| 23 | 23 | ||
| 24 | if [ "${linux_comp}" != "none" ] ; then | 24 | if [ "${linux_comp}" != "none" ] ; then |
| 25 | gzip -9 linux.bin | 25 | if [ "${linux_comp}" = "gzip" ] ; then |
| 26 | gzip -9 linux.bin | ||
| 27 | elif [ "${linux_comp}" = "lzo" ] ; then | ||
| 28 | lzop -9 linux.bin | ||
| 29 | fi | ||
| 26 | mv -f "linux.bin${linux_suffix}" linux.bin | 30 | mv -f "linux.bin${linux_suffix}" linux.bin |
| 27 | fi | 31 | fi |
| 28 | 32 | ||
