s/BSDSRCDIR/NETBSDSRCDIR/

This commit is contained in:
lukem 2002-04-26 15:54:41 +00:00
parent 9e5598221a
commit bb2f4a8f06
2 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
$NetBSD: UPDATING,v 1.57 2002/04/10 05:26:15 itojun Exp $
$NetBSD: UPDATING,v 1.58 2002/04/26 15:54:41 lukem Exp $
This file is intended to be a brief introduction to the build
process and a reference on what to do if something doesn't work.
@ -291,14 +291,14 @@ for anyone who uses any make(1) features in /etc/mk.conf.
#!/bin/sh
. /etc/mk.conf
if [ -z $BSDSRCDIR ] ; then
BSDSRCDIR=/usr/src
if [ -z $NETBSDSRCDIR ] ; then
NETBSDSRCDIR=/usr/src
fi
if [ \! -d $BSDSRCDIR ] ; then
if [ \! -d $NETBSDSRCDIR ] ; then
echo Unable to find sources
exit 1
fi
find $BSDSRCDIR -name \*.o -o -name obj.\* -o -name obj -exec rm \{\} \;
find $NETBSDSRCDIR -name \*.o -o -name obj.\* -o -name obj -exec rm \{\} \;
if [ -z $BSDOBJDIR ] ; then
BSDOBJDIR=/usr/obj
@ -307,7 +307,7 @@ if [ -d $BSDOBJDIR ] ; then
rm -rf $BSDOBJDIR
fi
cd $BSDSRCDIR && make cleandir
cd $NETBSDSRCDIR && make cleandir
---cut here---

View File

@ -1,4 +1,4 @@
$NetBSD: NOTES.xcc,v 1.1 1997/09/19 01:03:40 jeremy Exp $
$NetBSD: NOTES.xcc,v 1.2 2002/04/26 16:21:25 lukem Exp $
Notes for creating Cross-Assemblers on NetBSD
=============================================
@ -18,6 +18,6 @@ To create a cross-assembler:
MID_M68K (for m68k 8k page machine targets)
MID_M68K4K (for m68k 4k page machine targets)
If you are unsure which of these applies to your target, examine
$(BSDSRCDIR)/sys/arch/<target-machine>/include/param.h
$(NETBSDSRCDIR)/sys/arch/<target-machine>/include/param.h
2. Run ``make''.