Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/acorn32/stand Fix abi/arch/float-abi so can be buil...
details: https://anonhg.NetBSD.org/src/rev/c7bac6139db6
branches: trunk
changeset: 786568:c7bac6139db6
user: matt <matt%NetBSD.org@localhost>
date: Wed May 01 22:30:39 2013 +0000
description:
Fix abi/arch/float-abi so can be built from any arm port.
Force MACHINE to acorn32
Only build little-endian non-earm.
diffstat:
sys/arch/acorn32/stand/Makefile | 8 +++++++-
sys/arch/acorn32/stand/Makefile.buildboot | 6 +++++-
2 files changed, 12 insertions(+), 2 deletions(-)
diffs (41 lines):
diff -r e816bb0f61f4 -r c7bac6139db6 sys/arch/acorn32/stand/Makefile
--- a/sys/arch/acorn32/stand/Makefile Wed May 01 22:16:15 2013 +0000
+++ b/sys/arch/acorn32/stand/Makefile Wed May 01 22:30:39 2013 +0000
@@ -1,5 +1,11 @@
-# $NetBSD: Makefile,v 1.2 2006/07/04 23:08:51 bjh21 Exp $
+# $NetBSD: Makefile,v 1.3 2013/05/01 22:30:39 matt Exp $
+
+.include <bsd.endian.mk>
+
+.if empty(MACHINE_ARCH:Mearm*) && ${TARGET_ENDIANNESS} == "1234"
SUBDIR= boot32 nbfs
+.endif
+
.include <bsd.subdir.mk>
diff -r e816bb0f61f4 -r c7bac6139db6 sys/arch/acorn32/stand/Makefile.buildboot
--- a/sys/arch/acorn32/stand/Makefile.buildboot Wed May 01 22:16:15 2013 +0000
+++ b/sys/arch/acorn32/stand/Makefile.buildboot Wed May 01 22:30:39 2013 +0000
@@ -1,9 +1,11 @@
-# $NetBSD: Makefile.buildboot,v 1.14 2011/01/22 19:19:14 joerg Exp $
+# $NetBSD: Makefile.buildboot,v 1.15 2013/05/01 22:30:39 matt Exp $
S?= ${.CURDIR}/../../../..
.PATH: ${.CURDIR}/../lib
+MACHINE= acorn32
+
SRCS= ${PROGSOURCE}
NOMAN=# defined
BINDIR=/usr/mdec
@@ -40,6 +42,8 @@
CPPFLAGS+= -D_STANDALONE
CPPFLAGS+= -I. -I${.CURDIR}/../../.. -I${.CURDIR}/../../../..
CPPFLAGS+= -I${.CURDIR}/../lib
+CPPFLAGS+= -mabi=apcs-gnu -mfloat-abi=soft -march=armv3m
+CPUFLAGS=
CFLAGS= -O2
CFLAGS+= -ffreestanding
CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes
Home |
Main Index |
Thread Index |
Old Index