Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/compat Initial MKCOMPAT support for ARM EABI. (doesn't quit...
details: https://anonhg.NetBSD.org/src/rev/c6c514214b7a
branches: trunk
changeset: 780678:c6c514214b7a
user: matt <matt%NetBSD.org@localhost>
date: Fri Aug 03 08:02:47 2012 +0000
description:
Initial MKCOMPAT support for ARM EABI. (doesn't quite work right)
diffstat:
compat/archdirs.mk | 6 +++++-
compat/arm/eabi/Makefile | 5 +++++
compat/arm/eabi/bsd.eabi.mk | 11 +++++++++++
3 files changed, 21 insertions(+), 1 deletions(-)
diffs (44 lines):
diff -r 1b5ba6dae698 -r c6c514214b7a compat/archdirs.mk
--- a/compat/archdirs.mk Fri Aug 03 08:01:42 2012 +0000
+++ b/compat/archdirs.mk Fri Aug 03 08:02:47 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: archdirs.mk,v 1.1 2009/12/13 09:27:13 mrg Exp $
+# $NetBSD: archdirs.mk,v 1.2 2012/08/03 08:02:47 matt Exp $
# list of subdirs used per-platform
@@ -10,6 +10,10 @@
ARCHDIR_SUBDIR= amd64/i386
.endif
+.if (${MACHINE_ARCH} == "armeb" || ${MACHINE_ARCH} == "arm")
+ARCHDIR_SUBDIR= arm/eabi
+.endif
+
.if (${MACHINE_ARCH} == "mips64eb" || ${MACHINE_ARCH} == "mips64el")
ARCHDIR_SUBDIR= mips64/64 mips64/o32
.endif
diff -r 1b5ba6dae698 -r c6c514214b7a compat/arm/eabi/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/compat/arm/eabi/Makefile Fri Aug 03 08:02:47 2012 +0000
@@ -0,0 +1,5 @@
+# $NetBSD: Makefile,v 1.1 2012/08/03 08:02:47 matt Exp $
+
+BSD_MK_COMPAT_FILE=${.CURDIR}/bsd.eabi.mk
+
+.include "../../compatsubdir.mk"
diff -r 1b5ba6dae698 -r c6c514214b7a compat/arm/eabi/bsd.eabi.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/compat/arm/eabi/bsd.eabi.mk Fri Aug 03 08:02:47 2012 +0000
@@ -0,0 +1,11 @@
+# $NetBSD: bsd.eabi.mk,v 1.1 2012/08/03 08:02:47 matt Exp $
+
+MLIBDIR= eabi
+
+COPTS+= -mabi=aapcs-linux
+CPUFLAGS+= -mabi=aapcs-linux
+LDADD+= -mabi=aapcs-linux
+LDFLAGS+= -mabi=aapcs-linux
+MKDEPFLAGS+= -mabi=aapcs-linux
+
+.include "${.PARSEDIR}/../../Makefile.compat"
Home |
Main Index |
Thread Index |
Old Index