summaryrefslogtreecommitdiff
path: root/packages/linux/linux.inc
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-11-05 18:30:14 +0000
committerKoen Kooi <koen@openembedded.org>2007-11-05 18:30:14 +0000
commit891334ba568712e3000aa0dca5add8d059dabb7f (patch)
treea4935856e5e840633fb18b7be833ecdd01dadf89 /packages/linux/linux.inc
parentc69ce26e7ac4eadf3f8fdd5dae7df46313c12462 (diff)
linux: add avr32 support for 2.6.23
Diffstat (limited to 'packages/linux/linux.inc')
-rw-r--r--packages/linux/linux.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/linux/linux.inc b/packages/linux/linux.inc
index 2fb0ce8177..2a9085f34e 100644
--- a/packages/linux/linux.inc
+++ b/packages/linux/linux.inc
@@ -118,6 +118,10 @@ do_deploy() {
${OBJCOPY} -O binary -R .note -R .comment -S arch/${ARCH}/boot/compressed/vmlinux linux.bin
uboot-mkimage -A ${ARCH} -O linux -T kernel -C none -a ${UBOOT_ENTRYPOINT} -e ${UBOOT_ENTRYPOINT} -n "${DISTRO_NAME}/${PV}/${MACHINE}" -d linux.bin ${DEPLOY_DIR_IMAGE}/uImage-${PV}-${PR}-${MACHINE}-${DATETIME}.bin
rm -f linux.bin
+ elif test -e arch/${ARCH}/boot/images/vmlinux.gz ; then
+ ${OBJCOPY} -O binary -R .note -R .comment -S arch/${ARCH}/boot/images/vmlinux.gz linux.bin
+ uboot-mkimage -A ${ARCH} -O linux -T kernel -C gzip -a ${UBOOT_ENTRYPOINT} -e ${UBOOT_ENTRYPOINT} -n "${DISTRO_NAME}/${PV}/${MACHINE}" -d linux.bin ${DEPLOY_DIR_IMAGE}/uImage-${PV}-${PR}-${MACHINE}-${DATETIME}.bin
+ rm -f linux.bin
else
${OBJCOPY} -O binary -R .note -R .comment -S vmlinux linux.bin
rm -f linux.bin.gz