Send commitlog mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.openmoko.org/mailman/listinfo/commitlog
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of commitlog digest..."
Today's Topics:

   1. r2372 - trunk/oe/packages/uboot ([EMAIL PROTECTED])
   2. r2373 - trunk/oe/packages/uboot ([EMAIL PROTECTED])
--- Begin Message ---
Author: werner
Date: 2007-07-08 17:43:48 +0200 (Sun, 08 Jul 2007)
New Revision: 2372

Modified:
   trunk/oe/packages/uboot/uboot-gta01_svn.bb
Log:
Tentative fix to bring back neo1973 lowlevel_foo



Modified: trunk/oe/packages/uboot/uboot-gta01_svn.bb
===================================================================
--- trunk/oe/packages/uboot/uboot-gta01_svn.bb  2007-07-07 15:13:38 UTC (rev 
2371)
+++ trunk/oe/packages/uboot/uboot-gta01_svn.bb  2007-07-08 15:43:48 UTC (rev 
2372)
@@ -17,6 +17,7 @@
 EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
 TARGET_LDFLAGS = ""
 UBOOT_MACHINES = "gta01bv2 gta01bv3 gta01bv4 smdk2440 hxd8 qt2410 gta02v1"
+UBOOT_FAMILIES = ". neo1973"
 
 do_quilt() {
         mv ${WORKDIR}/patches ${S}/patches && cd ${S} && quilt push -av
@@ -49,9 +50,13 @@
                else
                        mv u-boot.bin u-boot_${mach}.bin
                fi
-               if [ -f board/${mach}/lowlevel_foo.bin ]; then
-                       mv board/${mach}/lowlevel_foo.bin 
lowlevel_foo_${mach}.bin
-               fi
+               for family in ${UBOOT_FAMILIES}; do
+                       if [ -f board/${family}/${mach}/lowlevel_foo.bin ]; then
+                               mv board/${family}/${mach}/lowlevel_foo.bin \
+                                   lowlevel_foo_${mach}.bin
+                               break
+                       fi
+               done
        done
 }
 




--- End Message ---
--- Begin Message ---
Author: werner
Date: 2007-07-09 04:12:06 +0200 (Mon, 09 Jul 2007)
New Revision: 2373

Modified:
   trunk/oe/packages/uboot/uboot-gta01_svn.bb
Log:
- bumped PR
- use "find" to locate lowlevel_foo, instead of trying to predict path name



Modified: trunk/oe/packages/uboot/uboot-gta01_svn.bb
===================================================================
--- trunk/oe/packages/uboot/uboot-gta01_svn.bb  2007-07-08 15:43:48 UTC (rev 
2372)
+++ trunk/oe/packages/uboot/uboot-gta01_svn.bb  2007-07-09 02:12:06 UTC (rev 
2373)
@@ -4,7 +4,7 @@
 SECTION = "bootloader"
 PRIORITY = "optional"
 PV = "1.2.0+svn${SRCDATE}"
-PR = "r10"
+PR = "r11"
 
 PROVIDES = "virtual/bootloader"
 S = "${WORKDIR}/git"
@@ -17,7 +17,6 @@
 EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
 TARGET_LDFLAGS = ""
 UBOOT_MACHINES = "gta01bv2 gta01bv3 gta01bv4 smdk2440 hxd8 qt2410 gta02v1"
-UBOOT_FAMILIES = ". neo1973"
 
 do_quilt() {
         mv ${WORKDIR}/patches ${S}/patches && cd ${S} && quilt push -av
@@ -43,6 +42,7 @@
        do
                oe_runmake ${mach}_config
                oe_runmake clean
+               find board -name lowlevel_foo.bin -exec rm '{}' \;
                oe_runmake all
                oe_runmake u-boot.udfu
                if [ -f u-boot.udfu ]; then
@@ -50,13 +50,13 @@
                else
                        mv u-boot.bin u-boot_${mach}.bin
                fi
-               for family in ${UBOOT_FAMILIES}; do
-                       if [ -f board/${family}/${mach}/lowlevel_foo.bin ]; then
-                               mv board/${family}/${mach}/lowlevel_foo.bin \
-                                   lowlevel_foo_${mach}.bin
-                               break
-                       fi
-               done
+               if [ -f board/${mach}/lowlevel_foo.bin ]; then
+                       mv board/${mach}/lowlevel_foo.bin \
+                           lowlevel_foo_${mach}.bin
+               else
+                       find board -name lowlevel_foo.bin \
+                           -exec mv '{}' lowlevel_foo_${mach}.bin \;
+               fi
        done
 }
 




--- End Message ---
_______________________________________________
commitlog mailing list
[email protected]
http://lists.openmoko.org/mailman/listinfo/commitlog

Reply via email to