Source-Changes-HG archive

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

[src/netbsd-1-4]: src Apply patch (requested by he):



details:   https://anonhg.NetBSD.org/src/rev/177186b8bc6f
branches:  netbsd-1-4
changeset: 470778:177186b8bc6f
user:      he <he%NetBSD.org@localhost>
date:      Thu Jul 13 16:56:08 2000 +0000

description:
Apply patch (requested by he):
  Enhance the "make release" process:
   o Install the distrib bits under "make release"

diffstat:

 distrib/sparc/Makefile                |   5 +++-
 sys/arch/alpha/stand/netboot/Makefile |  42 +++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+), 1 deletions(-)

diffs (59 lines):

diff -r 36bd0bc37b35 -r 177186b8bc6f distrib/sparc/Makefile
--- a/distrib/sparc/Makefile    Thu Jul 13 16:51:32 2000 +0000
+++ b/distrib/sparc/Makefile    Thu Jul 13 16:56:08 2000 +0000
@@ -1,5 +1,8 @@
-#      $NetBSD: Makefile,v 1.2.4.1 1999/04/30 15:18:42 perry Exp $
+#      $NetBSD: Makefile,v 1.2.4.2 2000/07/13 16:56:08 he Exp $
 
 SUBDIR=        ramdisk bootfs ramdisk.sysinst bootfs.sysinst
 
+.PHONY: release
+TARGETS+= release
+
 .include <bsd.subdir.mk>
diff -r 36bd0bc37b35 -r 177186b8bc6f sys/arch/alpha/stand/netboot/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/alpha/stand/netboot/Makefile     Thu Jul 13 16:56:08 2000 +0000
@@ -0,0 +1,42 @@
+# $NetBSD: Makefile,v 1.20.2.2 2000/07/13 17:16:17 he Exp $
+
+PROG = netboot
+
+SRCS = start.S boot.c prom.c prom_disp.S OSFpal.c prom_swpal.S
+SRCS+= rpcc.S
+SRCS+= dev_net.c conf.c devopen.c
+SRCS+= if_prom.c loadfile.c getsecs.c booted_dev.c
+
+BOOT_RELOC = ${UNIFIED_LOAD_ADDRESS}
+
+CLEANFILES+= vers.c vers.o ${PROG}.sym
+
+CPPFLAGS += ${UNIFIED_CPPFLAGS} -DSUPPORT_DHCP \
+               -DBOOT_TYPE_NAME='"Network"'
+
+${PROG}: ${PROG}.sym
+       @echo creating ${PROG} from ${PROG}.sym...
+       @objcopy --output-target=binary ${PROG}.sym ${PROG}
+       @chmod 644 ${PROG}
+       @ls -l ${PROG}
+       @${CHECKSIZE_CMD} ${PROG}.sym ${PROG} ${UNIFIED_MAX_LOAD} \
+           ${UNIFIED_MAX_TOTAL} || (rm -f ${PROG} ; false)
+
+SAMISCMAKEFLAGS= SA_INCLUDE_NET=yes SA_USE_CREAD=yes
+.include "../Makefile.bootprogs"
+
+${PROG}.sym: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
+       sh ${.CURDIR}/../common/newvers.sh ${.CURDIR}/version
+       ${COMPILE.c} vers.c
+       ${LD} -Ttext ${BOOT_RELOC} -N -e start -o ${PROG}.sym \
+           ${OBJS} vers.o ${LIBSA} ${LIBZ} ${LIBSA} ${LIBKERN}
+       ${SIZE} ${PROG}.sym
+
+.if !defined(RELEASEDIR)
+release:
+       @echo setenv RELEASEDIR before doing that!
+       @false
+.else
+release: ${PROG}
+       ${INSTALL} -c ${PROG} ${RELEASEDIR}/installation/netboot/${PROG}
+.endif



Home | Main Index | Thread Index | Old Index