Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/compat Enable building eabihf compat libraries after fixing ...



details:   https://anonhg.NetBSD.org/src/rev/84e6c4215e36
branches:  trunk
changeset: 802338:84e6c4215e36
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Sep 10 22:43:36 2014 +0000

description:
Enable building eabihf compat libraries after fixing bsd.eabihf.mk to use
use the proper variant of arm*--netbsdelf-eabihf

diffstat:

 compat/archdirs.mk              |   4 ++--
 compat/arm/eabihf/bsd.eabihf.mk |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (54 lines):

diff -r 345714824049 -r 84e6c4215e36 compat/archdirs.mk
--- a/compat/archdirs.mk        Wed Sep 10 21:44:22 2014 +0000
+++ b/compat/archdirs.mk        Wed Sep 10 22:43:36 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: archdirs.mk,v 1.6 2014/08/11 04:33:30 matt Exp $
+#      $NetBSD: archdirs.mk,v 1.7 2014/09/10 22:43:36 matt Exp $
 
 # list of subdirs used per-platform
 
@@ -32,7 +32,7 @@
 
 .if (${MACHINE_ARCH} == "aarch64")
 ARCHDIR_SUBDIR+= arm/eabi
-#ARCHDIR_SUBDIR+= arm/eabihf
+ARCHDIR_SUBDIR+= arm/eabihf
 ARCHDIR_SUBDIR+= arm/oabi
 .elif (${MACHINE_ARCH} == "aarch64eb")
 ARCHDIR_SUBDIR= arm/eabi
diff -r 345714824049 -r 84e6c4215e36 compat/arm/eabihf/bsd.eabihf.mk
--- a/compat/arm/eabihf/bsd.eabihf.mk   Wed Sep 10 21:44:22 2014 +0000
+++ b/compat/arm/eabihf/bsd.eabihf.mk   Wed Sep 10 22:43:36 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.eabihf.mk,v 1.1 2014/08/10 23:26:25 matt Exp $
+#      $NetBSD: bsd.eabihf.mk,v 1.2 2014/09/10 22:43:36 matt Exp $
 
 .if !defined(MLIBDIR)
 
@@ -9,22 +9,22 @@
 MKSOFTFLOAT=no
 
 .if ${MACHINE_ARCH} == "aarch64eb"
-EARM_COMPAT_FLAGS+=    -target armeb--netbsdelf-gnueabi
+EARM_COMPAT_FLAGS+=    -target armeb--netbsdelf-eabihf
 EARM_COMPAT_FLAGS+=    -mcpu=cortex-a53
 ARM_MACHINE_ARCH=      earmv7hfeb
 LDFLAGS+=              -Wl,--be8
 ARM_LD=                        -m armelfb_nbsd_eabihf --be8
 .elif ${MACHINE_ARCH} == "aarch64"
-EARM_COMPAT_FLAGS+=    -target arm--netbsdelf-gnueabi
+EARM_COMPAT_FLAGS+=    -target arm--netbsdelf-eabihf
 EARM_COMPAT_FLAGS+=    -mcpu=cortex-a53
 ARM_MACHINE_ARCH=      earmv7hf
 ARM_LD=                        -m armelf_nbsd_eabihf
 .elif !empty(MACHINE_ARCH:M*eb)
-EARM_COMPAT_FLAGS+=    -target armeb--netbsdelf-gnueabi
+EARM_COMPAT_FLAGS+=    -target armeb--netbsdelf-eabihf
 ARM_MACHINE_ARCH=      earmhfeb
 ARM_LD=                        -m armelfb_nbsd_eabihf
 .else
-EARM_COMPAT_FLAGS+=    -target arm--netbsdelf-gnueabi
+EARM_COMPAT_FLAGS+=    -target arm--netbsdelf-eabihf
 ARM_MACHINE_ARCH=      earmhf
 ARM_LD=                        -m armelf_nbsd_eabihf
 .endif



Home | Main Index | Thread Index | Old Index