14 lines
212 B
Bash
14 lines
212 B
Bash
#!/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
|