Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/stand Use new loadfile.c
details: https://anonhg.NetBSD.org/src/rev/ef985959c4f4
branches: trunk
changeset: 472362:ef985959c4f4
user: christos <christos%NetBSD.org@localhost>
date: Wed Apr 28 09:13:51 1999 +0000
description:
Use new loadfile.c
diffstat:
sys/arch/i386/stand/Makefile.booters | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diffs (48 lines):
diff -r 662010f78eee -r ef985959c4f4 sys/arch/i386/stand/Makefile.booters
--- a/sys/arch/i386/stand/Makefile.booters Wed Apr 28 09:12:24 1999 +0000
+++ b/sys/arch/i386/stand/Makefile.booters Wed Apr 28 09:13:51 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.booters,v 1.21 1999/03/14 00:04:06 fvdl Exp $
+# $NetBSD: Makefile.booters,v 1.22 1999/04/28 09:13:51 christos Exp $
BINDIR= /usr/mdec
STRIPFLAG=
@@ -39,6 +39,7 @@
### find out what to use for libsa
SA_AS= library
+SAMISCMAKEFLAGS+="SA_USE_LOADFILE=yes"
.include "${S}/lib/libsa/Makefile.inc"
LIBSA= ${SALIB}
@@ -60,17 +61,19 @@
LDFLAGS=-N -M -e _start
.endif
+LIBLIST=${LIBI386} ${LIBSA} ${LIBZ} ${LIBSA} ${LIBKERN} ${LIBI386} ${LIBSA}
+
vers.o: ${VERSIONFILE}
sh ${I386_STAND_DIR}/newvers.sh ${.ALLSRC} ${NEWVERSWHAT}
${COMPILE.c} vers.c
${BASE}.sym: ${BSSTART} ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN} ${LIBI386} vers.o
${LD} -o ${BASE}.sym ${LDFLAGS} -Ttext 0 ${BSSTART} ${OBJS} \
- vers.o ${LIBI386} ${LIBSA} ${LIBZ} ${LIBSA} ${LIBKERN} >${BASE}.list
+ vers.o ${LIBLIST} >${BASE}.list
${BASE}.rom: ${GENPROM} ${ROMSTART} ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN} ${LIBI386} vers.o
${LD} -o ${BASE}.sym ${LDFLAGS} -Ttext ${RELOC} ${ROMSTART} ${OBJS} \
- vers.o ${LIBI386} ${LIBSA} ${LIBZ} ${LIBSA} ${LIBKERN} >${BASE}.list
+ vers.o ${LIBLIST} >${BASE}.list
cp ${BASE}.sym ${BASE}.bin
strip ${BASE}.bin
(cd ${GENPROMDIR}; ${MAKE} rom BINFILE=${.OBJDIR:Q}/${BASE:Q}.bin \
@@ -79,7 +82,7 @@
${BASE}.com: ${DOSSTART} ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN} ${LIBI386} vers.o
${LD} -o ${BASE}.sym ${LDFLAGS} -Ttext 0x100 ${DOSSTART} ${OBJS} \
- vers.o ${LIBI386} ${LIBSA} ${LIBZ} ${LIBSA} ${LIBKERN} >${BASE}.list
+ vers.o ${LIBLIST} >${BASE}.list
cp ${BASE}.sym ${BASE}.bin
strip ${BASE}.bin
dd if=${BASE}.bin of=${BASE}.com ibs=32 skip=1 obs=1024b
Home |
Main Index |
Thread Index |
Old Index