Browse Source

reality check

OPENBSD_2_3
pefo 27 years ago
parent
commit
e53b48e0e6
2 changed files with 8 additions and 7 deletions
  1. +3
    -3
      src/etc/etc.powerpc/MAKEDEV
  2. +5
    -4
      src/etc/etc.powerpc/Makefile.inc

+ 3
- 3
src/etc/etc.powerpc/MAKEDEV View File

@ -1,5 +1,5 @@
#!/bin/sh - #!/bin/sh -
# $OpenBSD: MAKEDEV,v 1.14 1997/12/08 21:27:42 mickey Exp $
# $OpenBSD: MAKEDEV,v 1.15 1998/04/06 20:17:16 pefo 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.
@ -342,9 +342,9 @@ cd*)
case $unit in case $unit in
0|1|2|3|4|5|6) 0|1|2|3|4|5|6)
mknod ${name}${unit}a b $blk `expr $unit '*' 8 + 0` mknod ${name}${unit}a b $blk `expr $unit '*' 8 + 0`
mknod ${name}${unit}d b $blk `expr $unit '*' 8 + 3`
mknod ${name}${unit}c b $blk `expr $unit '*' 8 + 2`
mknod r${name}${unit}a c $chr `expr $unit '*' 8 + 0` mknod r${name}${unit}a c $chr `expr $unit '*' 8 + 0`
mknod r${name}${unit}d c $chr `expr $unit '*' 8 + 3`
mknod r${name}${unit}c c $chr `expr $unit '*' 8 + 2`
chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h] chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h]
chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h] chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h]
;; ;;


+ 5
- 4
src/etc/etc.powerpc/Makefile.inc View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile.inc,v 1.4 1997/09/21 11:50:36 deraadt Exp $
# $OpenBSD: Makefile.inc,v 1.5 1998/04/06 20:17:19 pefo Exp $
# etc.powerpc/Makefile.inc -- powerpc-specific etc Makefile targets # etc.powerpc/Makefile.inc -- powerpc-specific etc Makefile targets
.ifdef DESTDIR .ifdef DESTDIR
snap_md: binutils bsd bootblocks
snap_md: binutils bsd distrib
binutils: binutils:
cd ${DESTDIR} && tar cf - usr/*openbsd* \ cd ${DESTDIR} && tar cf - usr/*openbsd* \
@ -15,7 +15,8 @@ bsd:
cp ${.CURDIR}/../sys/arch/powerpc/compile/GENERIC/bsd \ cp ${.CURDIR}/../sys/arch/powerpc/compile/GENERIC/bsd \
${DESTDIR}/snapshot/bsd ${DESTDIR}/snapshot/bsd
bootblocks:
cp ${DESTDIR}/usr/mdec/*boot* ${DESTDIR}/snapshot
distrib:
cd ${.CURDIR}/../distrib && make cleandir && \
make && make install
.endif # DESTDIR check .endif # DESTDIR check

Loading…
Cancel
Save