Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/shark/stand/ofwboot Add -fno-unwind-tables
details: https://anonhg.NetBSD.org/src/rev/fb0aaa8b88f5
branches: trunk
changeset: 787745:fb0aaa8b88f5
user: matt <matt%NetBSD.org@localhost>
date: Sun Jun 30 21:54:26 2013 +0000
description:
Add -fno-unwind-tables
Add CPUFLAGS=-mcpu-strongarm
Add ${_MKTARGET_LINK}
diffstat:
sys/arch/shark/stand/ofwboot/Makefile | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (36 lines):
diff -r 9fbab86efce7 -r fb0aaa8b88f5 sys/arch/shark/stand/ofwboot/Makefile
--- a/sys/arch/shark/stand/ofwboot/Makefile Sun Jun 30 21:38:55 2013 +0000
+++ b/sys/arch/shark/stand/ofwboot/Makefile Sun Jun 30 21:54:26 2013 +0000
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2011/01/22 19:19:23 joerg Exp $
+# $NetBSD: Makefile,v 1.13 2013/06/30 21:54:26 matt Exp $
+
+NOMAN= # defined
.include <bsd.own.mk>
@@ -22,7 +24,6 @@
LIBCRTBEGIN=
LIBCRTEND=
-NOMAN= # defined
STRIPFLAG=
BINMODE= 444
@@ -36,6 +37,8 @@
CPPFLAGS+= -nostdinc -I. -I${.CURDIR}/../../.. -I${S}
CPPFLAGS+= -DRELOC=0x${RELOC}
+CFLAGS+= -fno-unwind-tables
+CPUFLAGS= -mcpu=strongarm
.if !make(obj) && !make(clean) && !make(cleandir)
.BEGIN:
@@ -70,6 +73,7 @@
${.CURDIR}/version "shark" ${NEWVERSWHAT}
${PROG}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
+ ${_MKTARGET_LINK}
${LD} -s -N -Ttext ${RELOC} -Bstatic -e ${ENTRY} -o ${.TARGET}.aout \
${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
${OBJCOPY} -O binary ${.TARGET}.aout ${.TARGET}
Home |
Main Index |
Thread Index |
Old Index