uboot-openmoko|linux-gta01: softlink to the latest binary in the deploy directory
authorMichael Lauer <mickey@vanille-media.de>
Tue, 7 Aug 2007 12:45:15 +0000 (12:45 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Tue, 7 Aug 2007 12:45:15 +0000 (12:45 +0000)
packages/linux/linux-gta01.inc
packages/uboot/uboot-openmoko_svn.bb

index 7cc6c58..8554d24 100644 (file)
@@ -93,6 +93,7 @@ do_deploy() {
        rm -f linux.bin.gz
        gzip -9 linux.bin
        ${STAGING_BINDIR_NATIVE}/uboot-mkimage -A arm -O linux -T kernel -C gzip -a 30008000 -e 30008000 -n "OpenMoko Kernel Image Neo1973(GTA01)" -d linux.bin.gz ${DEPLOY_DIR_IMAGE}/uImage-${PV}-${PR}-${MACHINE}.bin
+       ln -sf ${DEPLOY_DIR_IMAGE}/uImage-${PV}-${PR}-${MACHINE}.bin ${DEPLOY_DIR_IMAGE}/uImage-${MACHINE}-latest.bin
        rm -f linux.bin.gz
 }
 
index 06c15c1..d7a07a7 100644 (file)
@@ -73,8 +73,10 @@ do_deploy () {
        for mach in ${UBOOT_MACHINES}
        do
                install -m 0644 ${S}/u-boot_${mach}.bin ${DEPLOY_DIR_IMAGE}/u-boot-${mach}-${PV}-${PR}.bin
+               ln -sf ${DEPLOY_DIR_IMAGE}/u-boot-${mach}-${PV}-${PR}.bin ${DEPLOY_DIR_IMAGE}/uboot-${mach}-latest.bin
                if [ -f ${S}/lowlevel_foo_${mach}.bin ]; then
                        install -m 0644 ${S}/lowlevel_foo_${mach}.bin ${DEPLOY_DIR_IMAGE}/lowlevel_foo-${mach}-${PV}-${PR}.bin
+                       ln -sf ${DEPLOY_DIR_IMAGE}/lowlevel_foo-${mach}-${PV}-${PR}.bin ${DEPLOY_DIR_IMAGE}/lowlevel-foo-${mach}-latest.bin
                fi
        done
        install -m 0755 tools/mkimage ${STAGING_BINDIR_NATIVE}/uboot-mkimage