Subject: Re: Building kernels and installing them
To: Current-Users <current-users@netbsd.org>
From: Bruce Anderson <brucea@spacestar.net>
List: current-users
Date: 08/13/2000 23:14:41
On Sun, Aug 13, 2000 8:49 PM, Gregg C Levine
<mailto:hansolofalcon@worldnet.att.net> wrote:
>Hello from Gregg C Levine usually with Jedi Knight Computers
>I have been following the instructions sent to me by Laine Stump, for two
>separate occasions. The last line in them said, and I quote, " make depend
>&& make". This is from a message dated 7/24/00. Should I really be issuing
>"make depend && make build"? Instead of " make depend && make"? This is
one
>area in which I am really out of my element, and am bumping into angry
>tigers, and Wookies.
>


#!/bin/sh
#
# By Bruce Anderson June 2000.
# Build a new kernel.

NJOBS=1
BPATH=/usr/src/sys/arch/`sysctl -n hw.machine_arch`/conf

cd /${BPATH}
if [ ! -f /${BPATH}/${1} ]
then
    echo ${1} ": target missing"
    exit 1
fi

TIME1=`date`

if [  -d /${BPATH}/../compile/${1} ]
then
      echo cleaning: ${1}
      ( cd /${BPATH}/../compile/${1} ; make cleandir )
fi

/usr/sbin/config /${BPATH}/${1}
(cd /${BPATH}/../compile/${1} ; make  depend && make  -j${NJOBS})

TIME2=`date`
echo  _START: ${TIME1}
echo  FINISH: ${TIME2}



" Stamp out root logins .  .  .  . su "   --Bruce Anderson  
 This message was created and sent using Cyberdog 2.0, MacOS 8.6,
 awk, find, sed, sendmail, sh, and NetBSD a free Multi-Platform OS.