build-{arm-images,rootfs}: added support to build just one platform.
This commit is contained in:
parent
f263a250f6
commit
41e3a6c954
@ -1,11 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
TARGET="$1"
|
||||
|
||||
set -e
|
||||
|
||||
PLATFORMS="beaglebone cubieboard2 odroid-u2 rpi rpi2 usbarmory"
|
||||
DATE=$(date '+%Y%m%d')
|
||||
|
||||
for f in ${PLATFORMS}; do
|
||||
./mkimage.sh void-${f}-rootfs-${DATE}.tar.xz
|
||||
xz -T0 void-${f}-${DATE}.img
|
||||
if [ -z "$TARGET" -o "$TARGET" = "$f" ]; then
|
||||
./mkimage.sh void-${f}-rootfs-${DATE}.tar.xz
|
||||
xz -T0 void-${f}-${DATE}.img
|
||||
fi
|
||||
done
|
||||
|
@ -2,8 +2,12 @@
|
||||
|
||||
set -e
|
||||
|
||||
TARGET="$1"
|
||||
|
||||
PLATFORMS="beaglebone cubieboard2 odroid-u2 rpi rpi2 usbarmory"
|
||||
|
||||
for f in ${PLATFORMS}; do
|
||||
./mkrootfs.sh $@ $f
|
||||
if [ -z "$TARGET" -o "$TARGET" = "$f" ]; then
|
||||
./mkrootfs.sh $@ $f
|
||||
fi
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user