r1572 - trunk/oe/packages/uboot
mickey at sita.openmoko.org
mickey at sita.openmoko.org
Fri Mar 30 21:19:51 CEST 2007
Author: mickey
Date: 2007-03-30 21:19:51 +0200 (Fri, 30 Mar 2007)
New Revision: 1572
Modified:
trunk/oe/packages/uboot/uboot-gta01_svn.bb
Log:
* make sure we only try to install lowlevel_foo.bin if it is actually present
Modified: trunk/oe/packages/uboot/uboot-gta01_svn.bb
===================================================================
--- trunk/oe/packages/uboot/uboot-gta01_svn.bb 2007-03-30 19:11:54 UTC (rev 1571)
+++ trunk/oe/packages/uboot/uboot-gta01_svn.bb 2007-03-30 19:19:51 UTC (rev 1572)
@@ -10,7 +10,9 @@
S = "${WORKDIR}/git"
SRC_URI = "git://www.denx.de/git/u-boot.git/;protocol=git \
- svn://svn.openmoko.org/trunk/src/target/u-boot;module=patches;proto=http"
+ svn://svn.openmoko.org/trunk/src/target/u-boot;module=patches;proto=http \
+ file://uboot-20070311-tools_makefile_ln_sf.patch;patch=1 \
+ "
EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
TARGET_LDFLAGS = ""
@@ -29,7 +31,9 @@
oe_runmake clean
oe_runmake all
mv u-boot.bin u-boot_${mach}.bin
- mv board/neo1973/lowlevel_foo.bin lowlevel_foo_${mach}.bin
+ if [ -f board/neo1973/lowlevel_foo.bin ]; then
+ mv board/neo1973/lowlevel_foo.bin lowlevel_foo_${mach}.bin
+ fi
done
}
@@ -39,8 +43,10 @@
do
install ${S}/u-boot_${mach}.bin \
${DEPLOY_DIR_IMAGE}/u-boot-${mach}-${PR}.bin
- install ${S}/lowlevel_foo_${mach}.bin \
- ${DEPLOY_DIR_IMAGE}/lowlevel_foo-${mach}-${PR}.bin
+ if [ -f ${S}/lowlevel_foo_${mach}.bin ]; then
+ install ${S}/lowlevel_foo_${mach}.bin \
+ ${DEPLOY_DIR_IMAGE}/lowlevel_foo-${mach}-${PR}.bin
+ fi
done
install -m 0755 tools/mkimage ${STAGING_BINDIR_NATIVE}/uboot-mkimage
}
More information about the commitlog
mailing list