diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2006-03-06 12:52:04 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-03-06 12:52:04 +0000 |
commit | 031f205a4d625c62edf7d67bc4996783f96f7b05 (patch) | |
tree | 2ff9f50f014c8fcd0b5ccfd0b242cdf068aebd9d /contrib/buildscripts | |
parent | 85ea2480eede5fceab6bd43ef26e2e1a4a8dec53 (diff) | |
download | openembedded-031f205a4d625c62edf7d67bc4996783f96f7b05.tar.gz |
OpenZaurus: added build script for easy image building
- script clean all packages which has $MACHINE related parts
- script clean all packages related to kernel
- build standard images: bootstrap/gpe/opie
- also build experimental images: e-image/e-image-core
Script is based on Familiar buildscript.
Diffstat (limited to 'contrib/buildscripts')
-rw-r--r-- | contrib/buildscripts/openzaurus/.mtn2git_empty | 0 | ||||
-rw-r--r-- | contrib/buildscripts/openzaurus/build-oz.sh | 38 |
2 files changed, 38 insertions, 0 deletions
diff --git a/contrib/buildscripts/openzaurus/.mtn2git_empty b/contrib/buildscripts/openzaurus/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/contrib/buildscripts/openzaurus/.mtn2git_empty diff --git a/contrib/buildscripts/openzaurus/build-oz.sh b/contrib/buildscripts/openzaurus/build-oz.sh new file mode 100644 index 0000000000..b1ce4bf6ca --- /dev/null +++ b/contrib/buildscripts/openzaurus/build-oz.sh @@ -0,0 +1,38 @@ +#!/bin/bash + +for machine in collie c7x0 borzoi poodle tosa akita spitz ; +do + echo "MACHINE = \"$machine\"" > conf/auto.conf + echo "MACHINE = \"$machine\"" + +# clean recipes which: +# - emit multiple packages which don't all have the same arch +# - depend on virtual/kernel in some way + bitbake -c clean matchbox-panel task-bootstrap meta-gpe meta-opie gpe-image \ + opie-image pivotroot-image sysvinit tslib base-passwd \ + opie-button-settings zaurus-updater virtual/kernel initscripts \ + keymaps base-files hostap-modules orinoco-modules \ + kernel-module-wlags49-h1-cs kernel-module-wlags49-h2-cs + + if [ $machine == "collie" ]; then + bitbake -c openzaurus-sa collie-kernel-24-8 collie-kernel-32-0 \ + collie-kernel-32-32 collie-kernel-40-24 collie-kernel-48-16 \ + collie-kernel-58-6 collie-kernel-64-0 + fi + + if [ $machine == "poodle" ]; then + bitbake -c openzaurus-pxa poodle-kernel poodle255-kernel poodle-kernels + fi + + bitbake nano bitbake kernel-module-wlags49-h1-cs kernel-module-wlags49-h2-cs -k + + if [ $machine == "spitz" ]; then + bitbake bootstrap-image gpe-image opie-image pivotboot-image e-image e-image-core + else + bitbake bootstrap-image gpe-image opie-image e-image e-image-core + fi +done + +echo "MACHINE = \"collie\"" > conf/auto.conf +bitbake meta-sdk + |