Source-Changes-HG archive

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

[src/perseant-stdc-iso10646]: src/sys/arch/macppc/stand/bootxx 2552540



details:   https://anonhg.NetBSD.org/src/rev/9ccfbc302e3e
branches:  perseant-stdc-iso10646
changeset: 850645:9ccfbc302e3e
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jul 15 23:26:47 2017 +0000

description:
2552540

diffstat:

 sys/arch/macppc/stand/bootxx/Makefile |  30 ++++++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)

diffs (34 lines):

diff -r 4ce4f4fa4cf2 -r 9ccfbc302e3e sys/arch/macppc/stand/bootxx/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/macppc/stand/bootxx/Makefile     Sat Jul 15 23:26:47 2017 +0000
@@ -0,0 +1,30 @@
+#      $NetBSD: Makefile,v 1.17.2.2 2017/07/15 23:26:47 christos Exp $
+
+S!=    cd ${.CURDIR}/../../../..; pwd
+
+PROG=          bootxx
+NOMAN=         # defined
+BINMODE=       444
+
+LIBCRT0=       # nothing
+LIBCRTI=       # nothing
+LIBCRTBEGIN=   # nothing
+LIBCRTEND=     # nothing
+LIBC=          # nothing
+
+CFLAGS=                -Os -Wall -ffreestanding
+CFLAGS+=       ${${ACTIVE_CC} == "gcc":? -msoft-float :}
+CFLAGS+=       ${CFLAGS_UNWIND.${ACTIVE_CC}}
+CPPFLAGS+=     -D_STANDALONE -DPPC_OEA -I${.OBJDIR} -I${S}
+STRIPFLAG=
+LINKFLAGS=     -x -N -Ttext 4000 -e _start
+LINKFLAGS+=    ${LINKFLAGS_UNWIND}
+CLEANFILES+=   ${PROG}.sym
+
+${PROG}: ${OBJS}
+       ${_MKTARGET_LINK}
+       ${LD} -o ${.TARGET}.sym ${LINKFLAGS} ${OBJS} ${DESTDIR}/usr/lib/libgcc.a
+       ${OBJCOPY} -O binary ${.TARGET}.sym ${.TARGET}
+
+.include <bsd.klinks.mk>
+.include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index