about summary refs log tree commit diff
path: root/build-rootfs.sh.in
blob: b4de345c4d63aa0131944fd4aa2fb0df0e0167e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

TARGET="$1"

PLATFORMS="beaglebone cubieboard2 cubietruck odroid-u2 rpi rpi2 usbarmory"

for f in ${PLATFORMS}; do
	if [ -z "$TARGET" -o "$TARGET" = "$f" ]; then
		./mkrootfs.sh $@ $f
	fi
done