From e53b48e0e6dc034d40b56f80daf17530933557ad Mon Sep 17 00:00:00 2001 From: pefo <> Date: Mon, 6 Apr 1998 20:17:19 +0000 Subject: [PATCH] reality check --- src/etc/etc.powerpc/MAKEDEV | 6 +++--- src/etc/etc.powerpc/Makefile.inc | 9 +++++---- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/etc/etc.powerpc/MAKEDEV b/src/etc/etc.powerpc/MAKEDEV index e4edf21d..0331edea 100644 --- a/src/etc/etc.powerpc/MAKEDEV +++ b/src/etc/etc.powerpc/MAKEDEV @@ -1,5 +1,5 @@ #!/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. # All rights reserved. @@ -342,9 +342,9 @@ cd*) case $unit in 0|1|2|3|4|5|6) 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}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] chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h] ;; diff --git a/src/etc/etc.powerpc/Makefile.inc b/src/etc/etc.powerpc/Makefile.inc index e5216239..45f99db7 100644 --- a/src/etc/etc.powerpc/Makefile.inc +++ b/src/etc/etc.powerpc/Makefile.inc @@ -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 .ifdef DESTDIR -snap_md: binutils bsd bootblocks +snap_md: binutils bsd distrib binutils: cd ${DESTDIR} && tar cf - usr/*openbsd* \ @@ -15,7 +15,8 @@ bsd: cp ${.CURDIR}/../sys/arch/powerpc/compile/GENERIC/bsd \ ${DESTDIR}/snapshot/bsd -bootblocks: - cp ${DESTDIR}/usr/mdec/*boot* ${DESTDIR}/snapshot +distrib: + cd ${.CURDIR}/../distrib && make cleandir && \ + make && make install .endif # DESTDIR check