about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--mkimage.sh.in2
-rw-r--r--mkrootfs.sh.in4
2 files changed, 4 insertions, 2 deletions
diff --git a/mkimage.sh.in b/mkimage.sh.in
index 6e39a10..518ca78 100644
--- a/mkimage.sh.in
+++ b/mkimage.sh.in
@@ -113,7 +113,7 @@ fi
 
 # double check PLATFORM is supported...
 case "$PLATFORM" in
-    bananapi|beaglebone|cubieboard2|odroid-u2|rpi);;
+    bananapi|beaglebone|cubieboard2|odroid-u2|rpi|rpi2);;
     *) die "The $PLATFORM is not supported, exiting..."
 esac
 
diff --git a/mkrootfs.sh.in b/mkrootfs.sh.in
index 57c32b1..340c27b 100644
--- a/mkrootfs.sh.in
+++ b/mkrootfs.sh.in
@@ -46,7 +46,8 @@ usage() {
 Usage: $PROGNAME [options] <platform>
 
 Supported platforms: i686, i686-musl, x86_64, x86_64-musl,
-                     bananapi, beaglebone, cubieboard2, odroid-u2, rpi
+                     bananapi, beaglebone, cubieboard2, odroid-u2,
+                     rpi, rpi2 (armv7)
 
 Options
     -b <syspkg> Set an alternative base-system package (defaults to base-system)
@@ -134,6 +135,7 @@ case "$PLATFORM" in
     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;;
+    rpi2) _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;;
     *) die "$PROGNAME: invalid platform!";;