aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Pfeffer <zach.pfeffer@linaro.org>2013-01-24 14:34:05 -0600
committerZach Pfeffer <zach.pfeffer@linaro.org>2013-01-24 14:34:05 -0600
commit3a3bd2e9a94b493585577a41a28378fdc91b6f2e (patch)
tree656e390fee0ac9f7752a3570e57e031ecb759640
parent152bc4ab3c7757931bddacebff74f4bc6f947c26 (diff)
downloadat-3a3bd2e9a94b493585577a41a28378fdc91b6f2e.tar.gz
Add a functions to do everything needed to run prebuilt images
Signed-off-by: Zach Pfeffer <zach.pfeffer@linaro.org>
-rw-r--r--tools.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools.sh b/tools.sh
index 3a8b6bc..660ae5f 100644
--- a/tools.sh
+++ b/tools.sh
@@ -110,6 +110,22 @@ function run() {
-C motherboard.hostbridge.userNetworking=true -C motherboard.hostbridge.userNetPorts="5556=6565" -C motherboard.smsc_91c111.enabled=1
}
+function testbuild() {
+ prebuilt_makemmc
+ untarbuiltboot
+ run
+}
+
+export TESTBUILDALL_DOC="Run testbuildall after downloading:
+boot.tar.bz2
+system.tar.bz2
+userdata.tar.bz2
+"
+function testbuildall() {
+ glit
+ testbuild
+}
+
function runit() {
untarboot
run