From 40da2eb8bc5cad1170d689c135e53c6c180ed965 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Thu, 23 May 2019 13:17:38 +0200 Subject: Updating all demos. --- update-demos | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100755 update-demos (limited to 'update-demos') diff --git a/update-demos b/update-demos new file mode 100755 index 0000000..b91d014 --- /dev/null +++ b/update-demos @@ -0,0 +1,33 @@ +#!/bin/bash + +set -euo pipefail + +set -x + +init_dir() { + dir=$1; shift; + rm -rf $dir + mkdir $dir + + (cat < $dir/.gitignore +} + +init_dir demo/thirdparty/olinuxino +cd demo/thirdparty/olinuxino +ee init --basedir=../../../thirdparty/olinuxino/HARDWARE/A64-OLinuXino/A64-OLinuXino_Rev_D +ee ninja +ninja -v -j1 +git add -A . +cd - + +init_dir demo/thirdparty/unlockoslo-alpha-3 +cd $dir +ee init --basedir=../../../thirdparty/unlockoslo/hardware/alpha-3 +ee ninja +ninja -v -j1 +git add -A . +cd - -- cgit v1.2.3