svn commit: r431215 - in head/emulators/qemu-sbruno: . files
Sean Bruno
sbruno at FreeBSD.org
Wed Jan 11 22:41:29 UTC 2017
Author: sbruno
Date: Wed Jan 11 22:41:28 2017
New Revision: 431215
URL: https://svnweb.freebsd.org/changeset/ports/431215
Log:
Add little endian mips target to assist with folks doing CI20 development.
Submitted by: kan
Modified:
head/emulators/qemu-sbruno/Makefile
head/emulators/qemu-sbruno/files/qemu_user_static.in
Modified: head/emulators/qemu-sbruno/Makefile
==============================================================================
--- head/emulators/qemu-sbruno/Makefile Wed Jan 11 22:27:50 2017 (r431214)
+++ head/emulators/qemu-sbruno/Makefile Wed Jan 11 22:41:28 2017 (r431215)
@@ -3,6 +3,7 @@
PORTNAME= qemu
PORTVERSION= 2.8.50.g20161228
+PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= GH \
LOCAL/nox:dtc \
Modified: head/emulators/qemu-sbruno/files/qemu_user_static.in
==============================================================================
--- head/emulators/qemu-sbruno/files/qemu_user_static.in Wed Jan 11 22:27:50 2017 (r431214)
+++ head/emulators/qemu-sbruno/files/qemu_user_static.in Wed Jan 11 22:41:28 2017 (r431215)
@@ -74,6 +74,16 @@ list_cmd="${BINMISCCTL} list"
else
echo "$0: interpreter ${interpreter} not found, cannot register."
fi
+ # register mipsle interpreter styled 'mipsle'
+ interpreter=${QEMU_DIR}/${QEMU_PREFIX}mipsel${QEMU_SUFFIX}
+ if [ -x "${interpreter}" ]; then
+ ${BINMISCCTL} add mipsel --interpreter "${interpreter}" \
+ --magic "\x7f\x45\x4c\x46\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x08\x00" \
+ --mask "\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff" \
+ --size 20 --set-enabled
+ else
+ echo "$0: interpreter ${interpreter} not found, cannot register."
+ fi
# register mips64 interpreter styled 'mips64'
interpreter=${QEMU_DIR}/${QEMU_PREFIX}mips64${QEMU_SUFFIX}
if [ -x "${interpreter}" ]; then
@@ -123,6 +133,7 @@ list_cmd="${BINMISCCTL} list"
${BINMISCCTL} remove armv6
${BINMISCCTL} remove aarch64
${BINMISCCTL} remove mips
+ ${BINMISCCTL} remove mipsel
${BINMISCCTL} remove powerpc
${BINMISCCTL} remove powerpc64
${BINMISCCTL} remove sparc64
More information about the svn-ports-all
mailing list