about summary refs log tree commit diff
path: root/build-rootfs.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'build-rootfs.sh.in')
-rw-r--r--build-rootfs.sh.in10
1 files changed, 7 insertions, 3 deletions
diff --git a/build-rootfs.sh.in b/build-rootfs.sh.in
index 526ae96..ae6985e 100644
--- a/build-rootfs.sh.in
+++ b/build-rootfs.sh.in
@@ -3,10 +3,10 @@
 TARGET="$1"
 [ -n "$TARGET" ] && shift
 
-: ${PLATFORMS:="beaglebone cubieboard2 odroid-u2 rpi rpi2 usbarmory"}
+: ${PLATFORMS:="beaglebone cubieboard2 odroid-u2 rpi rpi2 usbarmory x86_64 i686"}
 DATE=$(date '+%Y%m%d')
 
-for f in ${PLATFORMS} x ${PLATFORMS} ; do
+for f in ${PLATFORMS} x ${PLATFORMS}; do
 	if [ "$f" = "x" ]; then
 		musl=1
 		continue
@@ -15,7 +15,11 @@ for f in ${PLATFORMS} x ${PLATFORMS} ; do
 	if [ -n "$musl" ]; then
 		target=${f}-musl
 	fi
-        if [ -z "$ARGET" -o "$TARGET" = "$target" ]; then
+	if [ "$target" = "i686-musl" ]; then
+		# XXX no i686-musl repo yet
+		continue
+	fi
+        if [ -z "$TARGET" -o "$TARGET" = "$target" ]; then
 		./mkrootfs.sh $@ $target
 	fi
 done