add ramdisk support
This commit is contained in:
parent
cc8bba3950
commit
4c835d91f6
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh -
|
#!/bin/sh -
|
||||||
#
|
#
|
||||||
# $NetBSD: MAKEDEV,v 1.13 2000/08/13 15:37:09 mrg Exp $
|
# $NetBSD: MAKEDEV,v 1.14 2000/08/20 14:48:32 mrg Exp $
|
||||||
#
|
#
|
||||||
# Copyright (c) 1990 The Regents of the University of California.
|
# Copyright (c) 1990 The Regents of the University of California.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
@ -101,10 +101,11 @@ all)
|
|||||||
sh -$- $0 scsibus0 scsibus1 scsibus2 scsibus3
|
sh -$- $0 scsibus0 scsibus1 scsibus2 scsibus3
|
||||||
sh -$- $0 ipl lkm random local
|
sh -$- $0 ipl lkm random local
|
||||||
;;
|
;;
|
||||||
floppy)
|
floppy|ramdisk)
|
||||||
sh -$- $0 std ttya ttyb ttyc ttyd pty0
|
sh -$- $0 std ttya ttyb ttyc ttyd pty0
|
||||||
sh -$- $0 sd0 sd1 sd2 sd3 sd4 sd5 md0
|
sh -$- $0 sd0 sd1 sd2 sd3 sd4 sd5 md0
|
||||||
sh -$- $0 wd0 wd1 cd0 cd1 st0 st1 fd0
|
sh -$- $0 wd0 wd1 cd0 cd1 st0 st1 fd0
|
||||||
|
sh -$- $0 random
|
||||||
;;
|
;;
|
||||||
std)
|
std)
|
||||||
rm -f console tty kmem mem null zero eeprom openprom drum klog \
|
rm -f console tty kmem mem null zero eeprom openprom drum klog \
|
||||||
|
@ -1,8 +1,48 @@
|
|||||||
# $NetBSD: Makefile.inc,v 1.3 2000/07/07 23:06:09 eeh Exp $
|
# $NetBSD: Makefile.inc,v 1.4 2000/08/20 14:50:02 mrg Exp $
|
||||||
#
|
#
|
||||||
# etc.sparc/Makefile.inc -- sparc-specific etc Makefile targets
|
# etc.sparc/Makefile.inc -- sparc-specific etc Makefile targets
|
||||||
#
|
#
|
||||||
|
|
||||||
|
TOP= $(.CURDIR)/..
|
||||||
|
|
||||||
# Set this for any kernels beyond GENERIC you want to include
|
# Set this for any kernels beyond GENERIC you want to include
|
||||||
# in the distribution.
|
# in the distribution.
|
||||||
#EXTRA_KERNELS+= GENERIC32
|
#EXTRA_KERNELS+= POWEROFSEVEN
|
||||||
|
# XXX; no ramdisk install yet.
|
||||||
|
#BUILD_KERNELS+= INSTALL
|
||||||
|
|
||||||
|
|
||||||
|
# Add sparc64 installation directories
|
||||||
|
MD_INSTALLATION_DIRS= \
|
||||||
|
installation/ramdisk installation/netboot installation/misc
|
||||||
|
INSTALLATION_DIRS+=$(MD_INSTALLATION_DIRS)
|
||||||
|
|
||||||
|
snap_pre_md:
|
||||||
|
.ifndef UPDATE
|
||||||
|
cd $(TOP)/distrib && ${MAKE} clean
|
||||||
|
.endif
|
||||||
|
|
||||||
|
#
|
||||||
|
# Install miniroot images and auxiliary scripts to the release tree
|
||||||
|
#
|
||||||
|
snap_md_post:
|
||||||
|
# make boot/miniroot images
|
||||||
|
(cd $(TOP)/distrib; ${MAKE})
|
||||||
|
|
||||||
|
# transfer images to release hierarchy
|
||||||
|
.for dir in notes sparc64/ramdisk
|
||||||
|
(cd $(TOP)/distrib/$(dir); ${MAKE} release)
|
||||||
|
.endfor
|
||||||
|
|
||||||
|
# install boot image and installation scripts in netboot directory
|
||||||
|
.for f in ofwboot.net
|
||||||
|
cp -p $(DESTDIR)/usr/mdec/$f $(RELEASEDIR)/installation/netboot
|
||||||
|
.endfor
|
||||||
|
.for f in ofwboot bootblk installboot
|
||||||
|
cp -p $(DESTDIR)/usr/mdec/$f $(RELEASEDIR)/installation/misc
|
||||||
|
.endfor
|
||||||
|
|
||||||
|
# compute checksums
|
||||||
|
.for dir in ${MD_INSTALLATION_DIRS}
|
||||||
|
sh $(TOP)/distrib/sets/makesums -t ${RELEASEDIR}/${dir} '*'
|
||||||
|
.endfor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user