From owner-svn-ports-all@freebsd.org Wed Jan 15 01:10:38 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C84211FA77E; Wed, 15 Jan 2020 01:10:38 +0000 (UTC) (envelope-from philip@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47y8QQ51Qgz3M8n; Wed, 15 Jan 2020 01:10:38 +0000 (UTC) (envelope-from philip@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A788E26734; Wed, 15 Jan 2020 01:10:38 +0000 (UTC) (envelope-from philip@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 00F1AcS8031850; Wed, 15 Jan 2020 01:10:38 GMT (envelope-from philip@FreeBSD.org) Received: (from philip@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 00F1AcbC031849; Wed, 15 Jan 2020 01:10:38 GMT (envelope-from philip@FreeBSD.org) Message-Id: <202001150110.00F1AcbC031849@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: philip set sender to philip@FreeBSD.org using -f From: Philip Paeps Date: Wed, 15 Jan 2020 01:10:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r523075 - head/devel/binutils X-SVN-Group: ports-head X-SVN-Commit-Author: philip X-SVN-Commit-Paths: head/devel/binutils X-SVN-Commit-Revision: 523075 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jan 2020 01:10:38 -0000 Author: philip Date: Wed Jan 15 01:10:38 2020 New Revision: 523075 URL: https://svnweb.freebsd.org/changeset/ports/523075 Log: Add a riscv64_none_elf flavor to devel/binutils. This flavor of binutils can be used as an external toolchain for riscv64 bare metal. Submitted by: kp Sponsored by: Axiado Approved by: bapt (maintainer) Added: head/devel/binutils/pkg-plist-riscv64-none-elf (contents, props changed) Modified: head/devel/binutils/Makefile Modified: head/devel/binutils/Makefile ============================================================================== --- head/devel/binutils/Makefile Tue Jan 14 22:35:36 2020 (r523074) +++ head/devel/binutils/Makefile Wed Jan 15 01:10:38 2020 (r523075) @@ -15,7 +15,8 @@ LICENSE= GPLv3 LGPL3 LICENSE_COMB= multi FLAVORS= native aarch64 aarch64_none_elf amd64 arm_gnueabi arm_none_eabi \ - avr i386 mingw32 mips mips64 powerpc powerpc64 riscv64 s390x sparc64 + avr i386 mingw32 mips mips64 powerpc powerpc64 riscv64 \ + riscv64_none_elf s390x sparc64 FLAVOR?= native RELRO_CONFIGURE_ON= --enable-relro @@ -65,7 +66,7 @@ INFO_PATH= ${PKGNAMEPREFIX:S/-$//}/share/info BROKEN_mips= fails to configure: error: C compiler cannot create executables BROKEN_mips64= fails to configure: error: C compiler cannot create executables BROKEN_powerpc64= fails to configure: error: C compiler cannot create executables -.elif ${FLAVOR} == aarch64_none_elf || ${FLAVOR} == arm_none_eabi || ${FLAVOR} == mingw32 || ${FLAVOR} == avr +.elif ${FLAVOR} == aarch64_none_elf || ${FLAVOR} == arm_none_eabi || ${FLAVOR} == riscv64_none_elf || ${FLAVOR} == mingw32 || ${FLAVOR} == avr BUTARGET= ${FLAVOR:C/_/-/g} .elif ${FLAVOR} == amd64 BUTARGET= x86_64-unknown-${OPSYS:tl}${OSREL} Added: head/devel/binutils/pkg-plist-riscv64-none-elf ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/binutils/pkg-plist-riscv64-none-elf Wed Jan 15 01:10:38 2020 (r523075) @@ -0,0 +1,65 @@ +%%BUTARGET%%/bin/ar +%%BUTARGET%%/bin/as +%%BUTARGET%%/bin/ld +%%BUTARGET%%/bin/ld.bfd +%%BUTARGET%%/bin/nm +%%BUTARGET%%/bin/objcopy +%%BUTARGET%%/bin/objdump +%%BUTARGET%%/bin/ranlib +%%BUTARGET%%/bin/readelf +%%BUTARGET%%/bin/size +%%BUTARGET%%/bin/strip +%%BUTARGET%%/lib/ldscripts/elf32lriscv.xe +%%BUTARGET%%/lib/ldscripts/elf64lriscv.xr +%%BUTARGET%%/lib/ldscripts/elf64lriscv.xce +%%BUTARGET%%/lib/ldscripts/elf64lriscv.xu +%%BUTARGET%%/lib/ldscripts/elf32lriscv.xr +%%BUTARGET%%/lib/ldscripts/elf64lriscv.xe +%%BUTARGET%%/lib/ldscripts/elf32lriscv.xce +%%BUTARGET%%/lib/ldscripts/elf32lriscv.xu +%%BUTARGET%%/lib/ldscripts/elf32lriscv.xbn +%%BUTARGET%%/lib/ldscripts/elf32lriscv.xw +%%BUTARGET%%/lib/ldscripts/elf32lriscv.xwe +%%BUTARGET%%/lib/ldscripts/elf32lriscv.xc +%%BUTARGET%%/lib/ldscripts/elf32lriscv.x +%%BUTARGET%%/lib/ldscripts/elf32lriscv.xn +%%BUTARGET%%/lib/ldscripts/elf64lriscv.xwe +%%BUTARGET%%/lib/ldscripts/elf64lriscv.xbn +%%BUTARGET%%/lib/ldscripts/elf64lriscv.xc +%%BUTARGET%%/lib/ldscripts/elf64lriscv.xw +%%BUTARGET%%/lib/ldscripts/elf64lriscv.xn +%%BUTARGET%%/lib/ldscripts/elf64lriscv.x +bin/%%BUTARGET%%-addr2line +bin/%%BUTARGET%%-ar +bin/%%BUTARGET%%-as +bin/%%BUTARGET%%-c++filt +bin/%%BUTARGET%%-elfedit +bin/%%BUTARGET%%-gprof +bin/%%BUTARGET%%-ld +bin/%%BUTARGET%%-ld.bfd +bin/%%BUTARGET%%-nm +bin/%%BUTARGET%%-objcopy +bin/%%BUTARGET%%-objdump +bin/%%BUTARGET%%-ranlib +bin/%%BUTARGET%%-readelf +bin/%%BUTARGET%%-size +bin/%%BUTARGET%%-strings +bin/%%BUTARGET%%-strip +man/man1/%%BUTARGET%%-addr2line.1.gz +man/man1/%%BUTARGET%%-ar.1.gz +man/man1/%%BUTARGET%%-as.1.gz +man/man1/%%BUTARGET%%-c++filt.1.gz +man/man1/%%BUTARGET%%-dlltool.1.gz +man/man1/%%BUTARGET%%-elfedit.1.gz +man/man1/%%BUTARGET%%-gprof.1.gz +man/man1/%%BUTARGET%%-ld.1.gz +man/man1/%%BUTARGET%%-nm.1.gz +man/man1/%%BUTARGET%%-objcopy.1.gz +man/man1/%%BUTARGET%%-objdump.1.gz +man/man1/%%BUTARGET%%-ranlib.1.gz +man/man1/%%BUTARGET%%-readelf.1.gz +man/man1/%%BUTARGET%%-size.1.gz +man/man1/%%BUTARGET%%-strings.1.gz +man/man1/%%BUTARGET%%-strip.1.gz +man/man1/%%BUTARGET%%-windmc.1.gz +man/man1/%%BUTARGET%%-windres.1.gz