diff options
author | Juan RP <xtraeme@voidlinux.eu> | 2015-05-26 11:19:39 +0200 |
---|---|---|
committer | Juan RP <xtraeme@voidlinux.eu> | 2015-05-26 11:19:39 +0200 |
commit | b77a40785e6956f1a295a72319978d4f6748fca8 (patch) | |
tree | 63fabd8d9b391505cbc204794e056d7d697aa640 | |
parent | 41fbde8a5b1aa4862e108c4233b0a7aa93baf7b1 (diff) | |
download | hrmpf-b77a40785e6956f1a295a72319978d4f6748fca8.tar.gz hrmpf-b77a40785e6956f1a295a72319978d4f6748fca8.tar.xz hrmpf-b77a40785e6956f1a295a72319978d4f6748fca8.zip |
mkrootfs: accept *-musl for any platform.
-rw-r--r-- | mkrootfs.sh.in | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/mkrootfs.sh.in b/mkrootfs.sh.in index 0487ba5..3861be1 100644 --- a/mkrootfs.sh.in +++ b/mkrootfs.sh.in @@ -130,18 +130,15 @@ fi case "$PLATFORM" in - bananapi) _ARCH="armv7l"; QEMU_BIN=qemu-arm-static;; - beaglebone) _ARCH="armv7l"; QEMU_BIN=qemu-arm-static;; - cubieboard2|cubietruck) _ARCH="armv7l"; QEMU_BIN=qemu-arm-static;; - i686) _ARCH="i686"; QEMU_BIN=qemu-i386-static;; - i686-musl) _ARCH="i686-musl"; QEMU_BIN=qemu-i386-static;; - odroid-u2) _ARCH="armv7l"; QEMU_BIN=qemu-arm-static;; - rpi) _ARCH="armv6l"; QEMU_BIN=qemu-arm-static;; - rpi-musl) _ARCH="armv6l-musl"; SUBPLATFORM="rpi"; QEMU_BIN=qemu-arm-static;; - rpi2) SUBPLATFORM="rpi"; _ARCH="armv7l"; QEMU_BIN=qemu-arm-static;; - usbarmory) _ARCH="armv7l"; QEMU_BIN=qemu-arm-static;; - x86_64) _ARCH="x86_64"; QEMU_BIN=qemu-x86_64-static;; - x86_64-musl) _ARCH="x86_64-musl"; QEMU_BIN=qemu-x86_64-static;; + bananapi) _ARCH="armv7l"; SUBPLATFORM=${PLATFORM%-*}; QEMU_BIN=qemu-arm-static;; + beaglebone) _ARCH="armv7l"; SUBPLATFORM=${PLATFORM%-*}; QEMU_BIN=qemu-arm-static;; + cubieboard2|cubietruck) _ARCH="armv7l"; SUBPLATFORM=${PLATFORM%-*}; QEMU_BIN=qemu-arm-static;; + odroid-u2) _ARCH="armv7l"; SUBPLATFORM=${PLATFORM%-*}; QEMU_BIN=qemu-arm-static;; + rpi*) _ARCH="armv6l"; SUBPLATFORM=${PLATFORM%-*}; QEMU_BIN=qemu-arm-static;; + rpi2*) _ARCH="armv7l"; SUBPLATFORM=rpi; QEMU_BIN=qemu-arm-static;; + usbarmory*) _ARCH="armv7l"; SUBPLATFORM=${PLATFORM%-*}; QEMU_BIN=qemu-arm-static;; + i686*) _ARCH="$PLATFORM"; QEMU_BIN=qemu-i386-static;; + x86_64*) _ARCH="$PLATFORM"; QEMU_BIN=qemu-x86_64-static;; *) die "$PROGNAME: invalid platform!";; esac |