Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/arch/alpha/stand/bootxx build/install this binary a...



details:   https://anonhg.NetBSD.org/src/rev/3aaccdfdb56a
branches:  netbsd-1-4
changeset: 468086:3aaccdfdb56a
user:      cgd <cgd%NetBSD.org@localhost>
date:      Tue Apr 06 18:43:19 1999 +0000

description:
build/install this binary as bootxx.old, so that users won't get the
idea that they should be using it.  (no point in renaming the whole
directory since it should be dead soon enough.)

diffstat:

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

diffs (37 lines):

diff -r 8385d68528e9 -r 3aaccdfdb56a sys/arch/alpha/stand/bootxx/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/alpha/stand/bootxx/Makefile      Tue Apr 06 18:43:19 1999 +0000
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.22.2.2 1999/04/06 18:43:19 cgd Exp $
+
+PROG = bootxx.old
+
+SRCS = start.S bootxx.c prom.c prom_disp.S putstr.c booted_dev.c
+
+BOOT_RELOC = ${PRIMARY_LOAD_ADDRESS}
+PRIMARY_MAX_LOAD!=     expr 8192 - 512
+
+CPPFLAGS += ${PRIMARY_CPPFLAGS}
+
+CLEANFILES+= ${PROG}.sym ${PROG}.trunc
+
+${PROG}: ${PROG}.sym
+       @echo creating ${PROG} from ${PROG}.sym...
+       @objcopy --output-target=binary ${PROG}.sym ${PROG}.trunc
+       @chmod 644 ${PROG}.trunc
+       @dd if=${PROG}.trunc of=${PROG} obs=`expr 15 \* 512` conv=osync
+       @ls -l ${PROG}
+       @${CHECKSIZE_CMD} ${PROG}.sym ${PROG} ${PRIMARY_MAX_LOAD} \
+           ${PRIMARY_MAX_TOTAL} || (rm -f ${PROG} ; false)
+
+SAMISCMAKEFLAGS= SA_INCLUDE_NET=no SA_USE_CREAD=no
+.include "../Makefile.bootprogs"
+
+NETBSD_VERS!=sh ${.CURDIR}/../../../../conf/osrelease.sh
+CPPFLAGS+= -DNETBSD_VERS='"${NETBSD_VERS}"'
+
+${PROG}.sym: ${OBJS} ${LIBKERN}
+       ${LD} -Ttext ${BOOT_RELOC} -N -e start -o ${PROG}.sym ${OBJS} \
+           ${LIBKERN}
+       @chmod 644 ${PROG}.sym
+       @${SIZE} ${PROG}.sym



Home | Main Index | Thread Index | Old Index