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

set -e

TARGET="$1"

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

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