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/macppc/stand Apply patch (requested by he):



details:   https://anonhg.NetBSD.org/src/rev/0be07125e6dc
branches:  netbsd-1-4
changeset: 470781:0be07125e6dc
user:      he <he%NetBSD.org@localhost>
date:      Thu Jul 13 21:00:43 2000 +0000

description:
Apply patch (requested by he):
  Enhance the ``make release'' process:
   o Build and install the distrib and boot bits

diffstat:

 sys/arch/macppc/stand/Makefile         |   5 ++++-
 sys/arch/macppc/stand/Makefile.inc     |   6 +++++-
 sys/arch/macppc/stand/ofwboot/Makefile |  10 +++++++++-
 3 files changed, 18 insertions(+), 3 deletions(-)

diffs (51 lines):

diff -r 8eedb9e83eed -r 0be07125e6dc sys/arch/macppc/stand/Makefile
--- a/sys/arch/macppc/stand/Makefile    Thu Jul 13 20:59:48 2000 +0000
+++ b/sys/arch/macppc/stand/Makefile    Thu Jul 13 21:00:43 2000 +0000
@@ -1,5 +1,8 @@
-#      $NetBSD: Makefile,v 1.2 1998/06/12 21:07:23 tsubai Exp $
+#      $NetBSD: Makefile,v 1.2.8.1 2000/07/13 21:01:10 he Exp $
 
 SUBDIR=        bootxx installboot ofwboot
 
+.PHONY: release
+TARGETS+= release
+
 .include <bsd.subdir.mk>
diff -r 8eedb9e83eed -r 0be07125e6dc sys/arch/macppc/stand/Makefile.inc
--- a/sys/arch/macppc/stand/Makefile.inc        Thu Jul 13 20:59:48 2000 +0000
+++ b/sys/arch/macppc/stand/Makefile.inc        Thu Jul 13 21:00:43 2000 +0000
@@ -1,7 +1,11 @@
-#      $NetBSD: Makefile.inc,v 1.2 1998/05/22 12:56:36 drochner Exp $
+#      $NetBSD: Makefile.inc,v 1.2.8.1 2000/07/13 21:01:11 he Exp $
 
 BINDIR=                /usr/mdec
 
 CPPFLAGS+=     -D_STANDALONE
 
 CFLAGS+=       -msoft-float
+
+.NOTMAIN: release
+
+release:
diff -r 8eedb9e83eed -r 0be07125e6dc sys/arch/macppc/stand/ofwboot/Makefile
--- a/sys/arch/macppc/stand/ofwboot/Makefile    Thu Jul 13 20:59:48 2000 +0000
+++ b/sys/arch/macppc/stand/ofwboot/Makefile    Thu Jul 13 21:00:43 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.4 1999/02/13 02:54:47 lukem Exp $
+#      $NetBSD: Makefile,v 1.4.2.1 2000/07/13 21:00:43 he Exp $
 
 S=     ${.CURDIR}/../../../..
 
@@ -54,4 +54,12 @@
 #      ${OBJCOPY} --input-target=elf32-powerpc \
 #          --output-target=xcoff-powermac ${PROG}.elf ${PROG}.xcf
 
+.if !defined(RELEASEDIR)
+release:
+       @echo setenv RELEASEDIR before doing that!
+       @false
+.else
+release: ${PROG}.elf
+       ${INSTALL} -c ${PROG}.elf ${RELEASEDIR}/binary/kernel/${PROG}.elf
+.endif
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index