[oe-commits] Koen Kooi : angstrom feed builder: allow builder to override machinelists on the commandline

GIT User account git at amethyst.openembedded.net
Thu May 14 11:50:08 UTC 2009


Module: openembedded.git
Branch: xora/angstrom-srcpv
Commit: a6abba00643c4e565a0f5dee1f1af63cd4e47edc
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=a6abba00643c4e565a0f5dee1f1af63cd4e47edc

Author: Koen Kooi <koen at openembedded.org>
Date:   Wed May 13 20:56:27 2009 +0200

angstrom feed builder: allow builder to override machinelists on the commandline
* usage: sh build-feeds.sh machine1 machine2 machineN

---

 contrib/angstrom/build-feeds.sh |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/contrib/angstrom/build-feeds.sh b/contrib/angstrom/build-feeds.sh
index f3f8c54..e9026f7 100755
--- a/contrib/angstrom/build-feeds.sh
+++ b/contrib/angstrom/build-feeds.sh
@@ -61,7 +61,13 @@ do_build
 # * ppc603e:   efika
 # * i586:      qemux86
 
-for machine in simpad om-gta01 c7x0 ixp4xxbe nokia800 htckaiser beagleboard dht-walnut efika qemux86
+if [ "$1" = "" ] ; then
+	ARCH_MACHINES="simpad om-gta01 c7x0 ixp4xxbe nokia800 htckaiser beagleboard dht-walnut efika qemux86"
+else
+	ARCH_MACHINES="$@"
+fi
+
+for machine in ${ARCH_MACHINES}
 do
         BUILD_MACHINE=$machine
         BUILD_CLEAN="opkg-native qmake-native qmake2-native qt-x11-free python python-native python-pygtk gnome-icon-theme"
@@ -356,8 +362,13 @@ done
 
 # machine packages (machine specific (sub)packages)
 
-for machine in overo omap3-pandora beagleboard omap3evm neuros-osd2 efika dht-walnut palmt650 omap5912osk ixp4xxle ixp4xxbe c7x0 poodle tosa akita spitz collie simpad om-gta01 om-gta02 a780 at91sam9263ek qemuarm h2200 h3900 h4000 hx4700 nokia800 dns323 mv2120 kuropro lspro tsx09 ts409 qemux86  
+if [ "$1" = "" ] ; then
+    MACHINES="simpad om-gta01 c7x0 ixp4xxbe nokia800 htckaiser beagleboard dht-walnut efika qemux86"
+else
+    MACHINES="$@"
+fi
 
+for machine in ${MACHINES}
 do
         BUILD_MACHINE=$machine
             BUILD_CLEAN="opkg-native qmake-native qmake2-native qt-x11-free python python-native python-pygtk gnome-icon-theme"





More information about the Openembedded-commits mailing list