Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Dec 1997 16:13:39 +0800
From:      Greg Lehey <grog@lemis.com>
To:        Francisco Reyes <reyesf@super.zippo.com>
Cc:        "hackers@freebsd.org" <hackers@FreeBSD.ORG>
Subject:   Re: Why so many steps to build new kernel?
Message-ID:  <19971205161339.59500@lemis.com>
In-Reply-To: <199712050750.XAA25888@super.zippo.com>; from Francisco Reyes on Fri, Dec 05, 1997 at 02:50:07AM -0400
References:  <199712050750.XAA25888@super.zippo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 05, 1997 at 02:50:07AM -0400, Francisco Reyes wrote:
> I was wondering if there would be any problems with creating a script
> for some of the  steps of building a new kernel. What if any would be
> the problem with having a script which does:
>
> config kern1
> cd ../../kern1
> make depend
> make all
> make install

Why not?  Of course, you could simplify it.

> If such script was created it should check the return code of the
> make command to make sure there were no problems.

You wouldn't need to do that if you wrote:

 make config depend all install

Better still, you could make a target 'world' which did this for you,
including the cd's and configs in your original version.

Greg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971205161339.59500>