diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2006-10-23 14:52:05 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2006-10-23 14:52:05 +0000 |
commit | 00d9958b742278e75ce62e96740ceea6c9821bdd (patch) | |
tree | 7973cc20f11eda5d845ebdf4c82f94952d9ce47f | |
parent | 991494ea4d101d2b9be799c187f36f1484688975 (diff) |
linux-omap1: use OBJCOPY instead of hardcoded binary (so it will work with EABI), use for temporary files
-rw-r--r-- | packages/linux/linux-omap1.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/linux/linux-omap1.inc b/packages/linux/linux-omap1.inc index f924cbec2f..2cf4e4d04d 100644 --- a/packages/linux/linux-omap1.inc +++ b/packages/linux/linux-omap1.inc @@ -18,10 +18,10 @@ do_configure_prepend() { do_deploy() { if [ "${MACHINE}" == "omap5912osk" ]; then install -d ${DEPLOY_DIR_IMAGE} - arm-linux-objcopy -O binary -R .note -R .comment -S ${KERNEL_OUTPUT} ${DEPLOY_DIR_IMAGE}/linux.bin - gzip -f -9 ${DEPLOY_DIR_IMAGE}/linux.bin - mkimage -A arm -O linux -T kernel -C gzip -a 0x10008000 -e 0x10008000 -n "OE" -d ${DEPLOY_DIR_IMAGE}/linux.bin.gz ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}-${DATETIME}.bin - rm ${DEPLOY_DIR_IMAGE}/linux.bin.gz + ${OBJCOPY} -O binary -R .note -R .comment -S ${KERNEL_OUTPUT} ${S}/linux.bin + gzip -f -9 ${S}/linux.bin + mkimage -A arm -O linux -T kernel -C gzip -a 0x10008000 -e 0x10008000 -n "OE" -d ${S}/linux.bin.gz ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${KERNEL_RELEASE}-${MACHINE}-${DATETIME}.bin + rm ${S}/linux.bin.gz fi } |