[Midnightbsd-cvs] src [10954] U trunk/gnu/usr.bin/binutils: add architectures
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Fri Jun 15 12:10:24 EDT 2018
Revision: 10954
http://svnweb.midnightbsd.org/src/?rev=10954
Author: laffer1
Date: 2018-06-15 12:10:23 -0400 (Fri, 15 Jun 2018)
Log Message:
-----------
add architectures
Modified Paths:
--------------
trunk/gnu/usr.bin/binutils/Makefile.inc0
Property Changed:
----------------
trunk/gnu/usr.bin/binutils/Makefile.inc
trunk/gnu/usr.bin/binutils/Makefile.inc0
Index: trunk/gnu/usr.bin/binutils/Makefile.inc
===================================================================
--- trunk/gnu/usr.bin/binutils/Makefile.inc 2018-06-15 16:09:17 UTC (rev 10953)
+++ trunk/gnu/usr.bin/binutils/Makefile.inc 2018-06-15 16:10:23 UTC (rev 10954)
Property changes on: trunk/gnu/usr.bin/binutils/Makefile.inc
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/gnu/usr.bin/binutils/Makefile.inc0
===================================================================
--- trunk/gnu/usr.bin/binutils/Makefile.inc0 2018-06-15 16:09:17 UTC (rev 10953)
+++ trunk/gnu/usr.bin/binutils/Makefile.inc0 2018-06-15 16:10:23 UTC (rev 10954)
@@ -1,14 +1,14 @@
-# $MidnightBSD: src/gnu/usr.bin/binutils/Makefile.inc0,v 1.4 2012/07/04 13:53:10 laffer1 Exp $
-# $FreeBSD: src/gnu/usr.bin/binutils/Makefile.inc0,v 1.38 2007/02/11 07:15:05 marcel Exp $
+# $MidnightBSD$
+# $FreeBSD: stable/10/gnu/usr.bin/binutils/Makefile.inc0 239272 2012-08-15 03:21:56Z gonzo $
#
# This is included explicitly at the top of each sub-Makefile. We can't
# use the normal "Makefile.inc" mechanism, because we need some of these
# definitions before the sub-Makefile is processed.
-VERSION= "2.17.50 [MidnightBSD] 2012-08-19"
+VERSION= "2.17.50 [MidnightBSD] 2007-07-03"
.if defined(TARGET_ARCH)
-TARGET_CPUARCH=${TARGET_ARCH}
+TARGET_CPUARCH=${TARGET_ARCH:C/mips(n32|64)?(el)?/mips/:C/arm(v6)?(eb)?/arm/:C/powerpc64/powerpc/}
.else
TARGET_CPUARCH=${MACHINE_CPUARCH}
.endif
@@ -17,6 +17,10 @@
TARGET_OS?= freebsd
BINUTILS_ARCH=${TARGET_ARCH:C/amd64/x86_64/}
TARGET_TUPLE?= ${BINUTILS_ARCH}-${TARGET_VENDOR}-${TARGET_OS}
+.if ${TARGET_ARCH} == "armeb" || ${TARGET_ARCH} == "armv6eb" || \
+ (${TARGET_CPUARCH} == "mips" && ${TARGET_ARCH:Mmips*el} == "")
+TARGET_BIG_ENDIAN=t
+.endif
# RELTOP is the relative path to this point in the source or object
# tree, from any subdirectory of same. It gets extra "../" prefixes
@@ -26,7 +30,9 @@
RELSRC= ${RELTOP}/../../../contrib/binutils
SRCDIR= ${.CURDIR}/${RELSRC}
-.if ${TARGET_CPUARCH} == "i386"
+.if ${TARGET_CPUARCH} == "arm" || ${TARGET_CPUARCH} == "i386" || \
+ ${TARGET_ARCH} == "powerpc" || \
+ (${TARGET_CPUARCH} == "mips" && ${TARGET_ARCH:Mmips64*} == "")
CFLAGS+= -DBFD_DEFAULT_TARGET_SIZE=32
.else
CFLAGS+= -DBFD_DEFAULT_TARGET_SIZE=64
Property changes on: trunk/gnu/usr.bin/binutils/Makefile.inc0
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list