svn commit: r525129 - head/devel/binutils
Emmanuel Vadot
manu at FreeBSD.org
Tue Feb 4 08:39:00 UTC 2020
Author: manu
Date: Tue Feb 4 08:38:59 2020
New Revision: 525129
URL: https://svnweb.freebsd.org/changeset/ports/525129
Log:
devel/binutils: Add support for riscv32-unknown-elf
This is usefull to do baremetal on riscv32 SoC/FPGA implementation.
Approved by: bapt
Added:
head/devel/binutils/pkg-plist-riscv32-unknown-elf (contents, props changed)
Modified:
head/devel/binutils/Makefile
Modified: head/devel/binutils/Makefile
==============================================================================
--- head/devel/binutils/Makefile Tue Feb 4 08:19:20 2020 (r525128)
+++ head/devel/binutils/Makefile Tue Feb 4 08:38:59 2020 (r525129)
@@ -16,7 +16,7 @@ LICENSE_COMB= multi
FLAVORS= native aarch64 aarch64_none_elf amd64 arm_gnueabi arm_none_eabi \
avr i386 mingw32 mips mips64 powerpc powerpc64 riscv64 \
- riscv64_none_elf s390x sparc64
+ riscv64_none_elf s390x sparc64 riscv32_unknown_elf
FLAVOR?= native
RELRO_CONFIGURE_ON= --enable-relro
@@ -65,7 +65,7 @@ INFO_PATH= ${PKGNAMEPREFIX:S/-$//}/share/info
.if ${FLAVOR} == aarch64
BROKEN_mips= fails to configure: error: C compiler cannot create executables
BROKEN_mips64= fails to configure: error: C compiler cannot create executables
-.elif ${FLAVOR} == aarch64_none_elf || ${FLAVOR} == arm_none_eabi || ${FLAVOR} == riscv64_none_elf || ${FLAVOR} == mingw32 || ${FLAVOR} == avr
+.elif ${FLAVOR} == aarch64_none_elf || ${FLAVOR} == arm_none_eabi || ${FLAVOR} == riscv64_none_elf || ${FLAVOR} == mingw32 || ${FLAVOR} == avr || ${FLAVOR} == riscv32_unknown_elf
BUTARGET= ${FLAVOR:C/_/-/g}
.elif ${FLAVOR} == amd64
BUTARGET= x86_64-unknown-${OPSYS:tl}${OSREL}
Added: head/devel/binutils/pkg-plist-riscv32-unknown-elf
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/binutils/pkg-plist-riscv32-unknown-elf Tue Feb 4 08:38:59 2020 (r525129)
@@ -0,0 +1,55 @@
+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
+%%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.x
+%%BUTARGET%%/lib/ldscripts/elf32lriscv.xbn
+%%BUTARGET%%/lib/ldscripts/elf32lriscv.xc
+%%BUTARGET%%/lib/ldscripts/elf32lriscv.xce
+%%BUTARGET%%/lib/ldscripts/elf32lriscv.xe
+%%BUTARGET%%/lib/ldscripts/elf32lriscv.xn
+%%BUTARGET%%/lib/ldscripts/elf32lriscv.xr
+%%BUTARGET%%/lib/ldscripts/elf32lriscv.xu
+%%BUTARGET%%/lib/ldscripts/elf32lriscv.xw
+%%BUTARGET%%/lib/ldscripts/elf32lriscv.xwe
More information about the svn-ports-all
mailing list