Source-Changes-HG archive

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

[src/netbsd-1-4]: src/distrib/alpha Apply patch (requested by toddpw):



details:   https://anonhg.NetBSD.org/src/rev/30aa32e940a6
branches:  netbsd-1-4
changeset: 470444:30aa32e940a6
user:      he <he%NetBSD.org@localhost>
date:      Tue Feb 29 23:52:25 2000 +0000

description:
Apply patch (requested by toddpw):
  Add support for ``release'' and ``depend'' targets in distrib/alpha.

diffstat:

 distrib/alpha/Makefile                       |  29 ++++++++++++++++++++++++++-
 distrib/alpha/floppy-GENERIC/Makefile        |   4 ++-
 distrib/alpha/instkernel/cd-hd-tape/Makefile |   4 ++-
 distrib/alpha/instkernel/fdset/Makefile      |   4 ++-
 distrib/alpha/instkernel/instkernel/Makefile |   4 ++-
 5 files changed, 39 insertions(+), 6 deletions(-)

diffs (104 lines):

diff -r b0ee49495c32 -r 30aa32e940a6 distrib/alpha/Makefile
--- a/distrib/alpha/Makefile    Tue Feb 29 23:47:10 2000 +0000
+++ b/distrib/alpha/Makefile    Tue Feb 29 23:52:25 2000 +0000
@@ -1,5 +1,30 @@
-#      $NetBSD: Makefile,v 1.1 1998/10/16 01:36:45 ross Exp $
+#      $NetBSD: Makefile,v 1.1.2.1 2000/02/29 23:52:25 he Exp $
+
+SUBDIR=        instkernel #floppy-GENERIC
+
+ITARGET=       ${RELEASEDIR}/installation
+IINST=         ${INSTALL} ${RENAME} ${PRESERVE} ${COPY}        \
+               -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE}
 
-SUBDIR=        instkernel floppy-GENERIC
+.ifndef RELEASEDIR
+release:
+       @echo setenv RELEASEDIR first
+       @false
+.else
+CDHDTAPEOBJ != cd instkernel/cd-hd-tape; make print-objdir
+FDSETOBJ != cd instkernel/fdset; make print-objdir
+INSTKERNOBJ != cd instkernel/instkernel; make print-objdir
+GENERICOBJ != cd floppy-GENERIC; make print-objdir
+
+release:
+.for i in floppy diskimage instkernel tapeimage
+       ${IINST} README.files ${ITARGET}/$i/.
+.endfor
+       ${IINST} ${CDHDTAPEOBJ}/cdhdtape ${ITARGET}/diskimage/.
+       ${IINST} ${FDSETOBJ}/disk1of2 ${ITARGET}/floppy/.
+       ${IINST} ${FDSETOBJ}/disk2of2 ${ITARGET}/floppy/.
+       ${IINST} ${INSTKERNOBJ}/netbsd.gz ${ITARGET}/instkernel/.
+       #${IINST} ${GENERICOBJ}/GENERIC.fs ${ITARGET}/misc/.
+.endif
 
 .include <bsd.subdir.mk>
diff -r b0ee49495c32 -r 30aa32e940a6 distrib/alpha/floppy-GENERIC/Makefile
--- a/distrib/alpha/floppy-GENERIC/Makefile     Tue Feb 29 23:47:10 2000 +0000
+++ b/distrib/alpha/floppy-GENERIC/Makefile     Tue Feb 29 23:52:25 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.4.2.1 1999/04/07 06:51:26 cgd Exp $
+#      $NetBSD: Makefile,v 1.4.2.2 2000/02/29 23:52:55 he Exp $
 
 MOUNT_POINT?=  /mnt
 VND?=          vnd0
@@ -50,5 +50,7 @@
 clean cleandir distclean:
        /bin/rm -f *.core ${CLEANFILES} ${GZKERNEL} ${GZKERNEL}.gz *.tmp
 
+depend:
+
 .include <bsd.own.mk>
 .include <bsd.obj.mk>
diff -r b0ee49495c32 -r 30aa32e940a6 distrib/alpha/instkernel/cd-hd-tape/Makefile
--- a/distrib/alpha/instkernel/cd-hd-tape/Makefile      Tue Feb 29 23:47:10 2000 +0000
+++ b/distrib/alpha/instkernel/cd-hd-tape/Makefile      Tue Feb 29 23:52:25 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.3.2.1 1999/04/07 06:51:27 cgd Exp $
+#      $NetBSD: Makefile,v 1.3.2.2 2000/02/29 23:56:48 he Exp $
 
 IMAGE=         cdhdtape
 IMAGESIZE=     5760
@@ -60,5 +60,7 @@
 clean cleandir distclean:
        /bin/rm -f *.core ${CLEANFILES}
 
+depend:
+
 .include <bsd.own.mk>
 .include <bsd.obj.mk>
diff -r b0ee49495c32 -r 30aa32e940a6 distrib/alpha/instkernel/fdset/Makefile
--- a/distrib/alpha/instkernel/fdset/Makefile   Tue Feb 29 23:47:10 2000 +0000
+++ b/distrib/alpha/instkernel/fdset/Makefile   Tue Feb 29 23:52:25 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2.2.1 1999/04/07 06:51:27 cgd Exp $
+#      $NetBSD: Makefile,v 1.2.2.2 2000/02/29 23:57:22 he Exp $
 
 IMAGE1=                disk1of2
 IMAGE2=                disk2of2
@@ -61,5 +61,7 @@
 clean cleandir distclean:
        /bin/rm -f *.core ${CLEANFILES}
 
+depend:
+
 .include <bsd.own.mk>
 .include <bsd.obj.mk>
diff -r b0ee49495c32 -r 30aa32e940a6 distrib/alpha/instkernel/instkernel/Makefile
--- a/distrib/alpha/instkernel/instkernel/Makefile      Tue Feb 29 23:47:10 2000 +0000
+++ b/distrib/alpha/instkernel/instkernel/Makefile      Tue Feb 29 23:52:25 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.4 1998/10/29 00:37:07 ross Exp $
+#      $NetBSD: Makefile,v 1.4.2.1 2000/02/29 23:58:11 he Exp $
 
 RAMDISK!=cd ${.CURDIR}/../ramdisk; \
        printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/ramdisk.fs\n" | \
@@ -15,5 +15,7 @@
 clean cleandir distclean:
        rm -f netbsd
 
+depend:
+
 .include <bsd.own.mk>
 .include <bsd.obj.mk>



Home | Main Index | Thread Index | Old Index