Source-Changes-HG archive

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

[src/trunk]: src/distrib The walnut port has been subsumed by the new evbppc ...



details:   https://anonhg.NetBSD.org/src/rev/0979b78511df
branches:  trunk
changeset: 540310:0979b78511df
user:      scw <scw%NetBSD.org@localhost>
date:      Mon Dec 09 14:20:52 2002 +0000

description:
The walnut port has been subsumed by the new evbppc port.

diffstat:

 distrib/cdrom/Makefile                    |   4 +-
 distrib/evbppc/Makefile                   |   6 ++
 distrib/evbppc/md-kernel/Makefile         |  21 +++++++
 distrib/evbppc/ramdisk/Makefile           |  35 +++++++++++
 distrib/evbppc/ramdisk/disktab.preinstall |  29 +++++++++
 distrib/evbppc/ramdisk/dot.profile        |  91 +++++++++++++++++++++++++++++++
 distrib/evbppc/ramdisk/list               |  85 ++++++++++++++++++++++++++++
 distrib/evbppc/ramdisk/termcap.src        |  61 ++++++++++++++++++++
 distrib/walnut/Makefile                   |   6 --
 distrib/walnut/md-kernel/Makefile         |  21 -------
 distrib/walnut/ramdisk/Makefile           |  35 -----------
 distrib/walnut/ramdisk/disktab.preinstall |  29 ---------
 distrib/walnut/ramdisk/dot.profile        |  91 -------------------------------
 distrib/walnut/ramdisk/list               |  85 ----------------------------
 distrib/walnut/ramdisk/termcap.src        |  61 --------------------
 15 files changed, 330 insertions(+), 330 deletions(-)

diffs (truncated from 737 to 300 lines):

diff -r 01a5ae7e8a52 -r 0979b78511df distrib/cdrom/Makefile
--- a/distrib/cdrom/Makefile    Mon Dec 09 14:14:59 2002 +0000
+++ b/distrib/cdrom/Makefile    Mon Dec 09 14:20:52 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2002/10/21 05:08:23 lukem Exp $
+# $NetBSD: Makefile,v 1.15 2002/12/09 14:20:52 scw Exp $
 #
 # Consult "*.conf" for the configuration variables; this Makefile is typically
 # not edited for basic configuration changes.
@@ -106,6 +106,7 @@
 MACHINE_ARCH.dreamcast=        sh3el
 MACHINE_ARCH.evbarm=   arm
 MACHINE_ARCH.evbmips=  mipsel
+MACHINE_ARCH.evbppc=   powerpc
 MACHINE_ARCH.evbsh3=   sh3eb
 MACHINE_ARCH.hp300=    m68k
 MACHINE_ARCH.hpcarm=   arm
@@ -130,7 +131,6 @@
 MACHINE_ARCH.sgimips=  mipseb
 MACHINE_ARCH.shark=    arm
 MACHINE_ARCH.sun3=     m68k
-MACHINE_ARCH.walnut=   powerpc
 MACHINE_ARCH.x68k=     m68k
 
 ##### Fetched directories from FTP server #####
diff -r 01a5ae7e8a52 -r 0979b78511df distrib/evbppc/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/evbppc/Makefile   Mon Dec 09 14:20:52 2002 +0000
@@ -0,0 +1,6 @@
+#      $NetBSD: Makefile,v 1.1 2002/12/09 14:20:53 scw Exp $
+
+SUBDIR=                ramdisk .WAIT md-kernel
+TARGETS+=      release
+
+.include <bsd.subdir.mk>
diff -r 01a5ae7e8a52 -r 0979b78511df distrib/evbppc/md-kernel/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/evbppc/md-kernel/Makefile Mon Dec 09 14:20:52 2002 +0000
@@ -0,0 +1,21 @@
+#      $NetBSD: Makefile,v 1.1 2002/12/09 14:20:54 scw Exp $
+
+.include <bsd.own.mk>
+.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
+
+MKIMG?=        ${NETBSDSRCDIR}/sys/arch/evbppc/compile/walnut-mkimg.sh
+
+RAMDISKDIR!=   cd ${.CURDIR}/../ramdisk && ${PRINTOBJDIR}
+RAMDISK=       ${RAMDISKDIR}/ramdisk.fs
+
+MDSETTARGETS=          INSTALL_WALNUT ${RAMDISK} -
+MDSET_RELEASEDIR=      binary/kernel
+MDSET_SUFFIXES.-=      img create-img
+
+create-img= \
+       OBJDUMP=${OBJDUMP}; OBJCOPY=${OBJCOPY}; export OBJDUMP OBJCOPY; \
+               ${MKIMG} ${.TARGET:R} ${.TARGET}
+
+.include "${DISTRIBDIR}/common/Makefile.mdset"
+
+.include <bsd.prog.mk>
diff -r 01a5ae7e8a52 -r 0979b78511df distrib/evbppc/ramdisk/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/evbppc/ramdisk/Makefile   Mon Dec 09 14:20:52 2002 +0000
@@ -0,0 +1,35 @@
+#      $NetBSD: Makefile,v 1.1 2002/12/09 14:20:54 scw Exp $
+
+.include <bsd.own.mk>
+.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
+
+IMAGE=         ramdisk.fs
+IMAGESIZE=     2048k
+MAKEFS_FLAGS=  -f 15
+
+WARNS=         1
+DBG=           -Os -mmultiple -mstring
+
+CRUNCHBIN=     ramdiskbin
+CRUNCHGEN_FLAGS=-d "${DBG}"
+LISTS=         ${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
+MTREECONF=     ${DISTRIBDIR}/common/mtree.common
+IMAGEENDIAN=   be
+IMAGEDEPENDS=  ${CRUNCHBIN} \
+               dot.profile termcap.src \
+               ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
+               ${NETBSDSRCDIR}/etc/netconfig ${NETBSDSRCDIR}/etc/protocols \
+               ${NETBSDSRCDIR}/etc/services
+
+# Use stubs to eliminate some large stuff from libc
+HACKSRC=       ${DISTRIBDIR}/utils/libhack
+.include       "${HACKSRC}/Makefile.inc"
+${CRUNCHBIN}:  libhack.o
+
+.include "${DISTRIBDIR}/common/Makefile.crunch"
+.include "${DISTRIBDIR}/common/Makefile.makedev"
+.include "${DISTRIBDIR}/common/Makefile.image"
+
+release:
+
+.include <bsd.prog.mk>
diff -r 01a5ae7e8a52 -r 0979b78511df distrib/evbppc/ramdisk/disktab.preinstall
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/evbppc/ramdisk/disktab.preinstall Mon Dec 09 14:20:52 2002 +0000
@@ -0,0 +1,29 @@
+#      $NetBSD: disktab.preinstall,v 1.1 2002/12/09 14:20:55 scw Exp $
+#
+# Disk geometry and partition layout tables.
+# Key:
+#      dt      controller type
+#      ty      type of disk (fixed, removeable, simulated)
+#      d[0-4]  drive-type-dependent parameters
+#      ns      #sectors/track
+#      nt      #tracks/cylinder
+#      nc      #cylinders/disk
+#      sc      #sectors/cylinder, ns*nt default
+#      su      #sectors/unit, sc*nc default
+#      se      sector size, DEV_BSIZE default
+#      rm      rpm, 3600 default
+#      sf      supports bad144-style bad sector forwarding
+#      sk      sector skew per track, default 0
+#      cs      sector skew per cylinder, default 0
+#      hs      headswitch time, default 0
+#      ts      one-cylinder seek time, default 0
+#      il      sector interleave (n:1), 1 default
+#      bs      boot block size, default BBSIZE
+#      sb      superblock size, default SBSIZE
+#      o[a-h]  partition offsets in sectors
+#      p[a-h]  partition sizes in sectors
+#      b[a-h]  partition block sizes in bytes
+#      f[a-h]  partition fragment sizes in bytes
+#      t[a-h]  partition types (filesystem, swap, etc)
+#
+
diff -r 01a5ae7e8a52 -r 0979b78511df distrib/evbppc/ramdisk/dot.profile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/evbppc/ramdisk/dot.profile        Mon Dec 09 14:20:52 2002 +0000
@@ -0,0 +1,91 @@
+# $NetBSD: dot.profile,v 1.1 2002/12/09 14:20:55 scw Exp $
+#
+# Copyright (c) 1995 Jason R. Thorpe
+# Copyright (c) 1994 Christopher G. Demetriou
+# All rights reserved.
+# 
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+#    notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+#    notice, this list of conditions and the following disclaimer in the
+#    documentation and/or other materials provided with the distribution.
+# 3. All advertising materials mentioning features or use of this software
+#    must display the following acknowledgement:
+#          This product includes software developed for the
+#          NetBSD Project.  See http://www.netbsd.org/ for
+#          information about NetBSD.
+# 4. The name of the author may not be used to endorse or promote products
+#    derived from this software without specific prior written permission.
+# 
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 
+# <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>>
+
+PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
+export PATH
+TERM=vt100
+export TERM
+HOME=/
+export HOME
+
+umask 022
+
+if [ "X${DONEPROFILE}" = "X" ]; then
+       DONEPROFILE=YES
+       export DONEPROFILE
+
+       # set up some sane defaults
+       echo 'erase ^H, werase ^W, kill ^U, intr ^C, status ^T'
+       stty newcrt werase ^W intr ^C kill ^U erase ^H status ^T
+
+       # mount root read-write
+       mount -u /dev/md0a /
+
+       # mount a /tmp on mfs, to avoid filling the md
+       mount -t mfs swap /tmp
+
+       # get the terminal type
+       _forceloop=""
+       while [ "X${_forceloop}" = X"" ]; do
+               eval `tset -s -m ":?$TERM"`
+               if [ "X${TERM}" != X"unknown" ]; then
+                       _forceloop="done"
+               fi
+       done
+
+       # Installing or upgrading?
+       _forceloop=""
+       while [ "X${_forceloop}" = X"" ]; do
+               echo -n '(I)nstall, (S)hell or (H)alt ? '
+               read _forceloop
+               case "$_forceloop" in
+                       i*|I*)
+                               /sysinst
+                               ;;
+
+                       s*|S*)
+                               /bin/sh
+                               ;;
+
+                       h*|H*)
+                               /sbin/halt
+                               ;;
+
+                       *)
+                               _forceloop=""
+                               ;;
+               esac
+       done
+fi
diff -r 01a5ae7e8a52 -r 0979b78511df distrib/evbppc/ramdisk/list
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/distrib/evbppc/ramdisk/list       Mon Dec 09 14:20:52 2002 +0000
@@ -0,0 +1,85 @@
+#      $NetBSD: list,v 1.1 2002/12/09 14:20:56 scw Exp $
+
+SRCDIRS        bin sbin usr.bin usr.sbin
+
+PROG   bin/cat
+PROG   bin/chmod
+PROG   bin/cp
+PROG   bin/dd
+PROG   bin/df
+PROG   bin/ed
+PROG   bin/ln
+PROG   bin/ls
+PROG   bin/mkdir
+PROG   bin/mt
+PROG   bin/mv
+PROG   bin/pax         usr/bin/tar
+PROG   bin/pwd
+PROG   bin/rcmd
+PROG   bin/rcp
+PROG   bin/rm
+PROG   bin/sh
+PROG   bin/stty
+PROG   bin/sync
+
+PROG   sbin/disklabel
+PROG   sbin/dmesg
+PROG   sbin/fsck
+PROG   sbin/fsck_ffs
+PROG   sbin/ifconfig
+PROG   sbin/init
+PROG   sbin/mknod
+PROG   sbin/mount
+PROG   sbin/mount_cd9660
+PROG   sbin/mount_ffs
+PROG   sbin/mount_msdos
+PROG   sbin/mount_nfs
+PROG   sbin/newfs      sbin/mount_mfs
+PROG   sbin/ping
+PROG   sbin/reboot     sbin/halt
+PROG   sbin/restore    sbin/rrestore
+PROG   sbin/route
+PROG   sbin/shutdown
+PROG   sbin/swapctl
+PROG   sbin/umount
+
+PROG   usr/bin/ftp
+PROG   usr/bin/gzip    usr/bin/gzcat   usr/bin/gunzip
+PROG   usr/bin/more
+PROG   usr/bin/sed
+PROG   usr/bin/tset
+
+PROG   usr/sbin/chown  usr/bin/chgrp
+PROG   usr/sbin/chroot
+
+# init invokes the shell as -sh
+ARGVLN sh      -sh
+
+SPECIAL        dmesg           srcdir  distrib/utils/x_dmesg
+SPECIAL        ed              srcdir  distrib/utils/x_ed
+SPECIAL        gzip            srcdir  distrib/utils/x_gzip
+SPECIAL        ifconfig        srcdir  distrib/utils/x_ifconfig
+SPECIAL        more            srcdir  distrib/utils/more
+SPECIAL        mount           srcdir  distrib/utils/x_mount
+SPECIAL        ping            srcdir  distrib/utils/x_ping
+SPECIAL        route           srcdir  distrib/utils/x_route
+SPECIAL        umount          srcdir  distrib/utils/x_umount
+
+LIBS   libhack.o -ledit -lutil -lcurses -ltermcap -lrmt -ll -lm -lz
+



Home | Main Index | Thread Index | Old Index