From owner-svn-ports-head@freebsd.org Wed Jan 11 22:41:29 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CB38FCABFD7; Wed, 11 Jan 2017 22:41:29 +0000 (UTC) (envelope-from sbruno@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 825F21AC5; Wed, 11 Jan 2017 22:41:29 +0000 (UTC) (envelope-from sbruno@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v0BMfSTu011412; Wed, 11 Jan 2017 22:41:28 GMT (envelope-from sbruno@FreeBSD.org) Received: (from sbruno@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v0BMfS9o011410; Wed, 11 Jan 2017 22:41:28 GMT (envelope-from sbruno@FreeBSD.org) Message-Id: <201701112241.v0BMfS9o011410@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sbruno set sender to sbruno@FreeBSD.org using -f From: Sean Bruno Date: Wed, 11 Jan 2017 22:41:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r431215 - in head/emulators/qemu-sbruno: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jan 2017 22:41:29 -0000 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