Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Still having build problems with CURRENT
On 13/01/2008, David Laight <david%l8s.co.uk@localhost> wrote:
> On Sun, Jan 13, 2008 at 03:14:34PM +0000, Kimi wrote:
> >
> > I used to have the source code which was obtained by using csup and
> > put under the right place of /usr/src on my local discs & same goes
> > for /usr/obj. now I noticed there had been some changes in regards to
> > a read-only /usr/src which is great, so I have been nfs mounting both
> > /usr/src and /usr/obj, created a mk.conf and placing both MAKEOBJDIR
> > = /usr/obj and MAKEOBJDIRPREFIX = /usr/obj in there.
>
> MAKEOBJDIR and MAKEOBJDIRPREFIX have to be in the environment when
> make is started - since they are acted on before any makefiles are read.
>
as Iain pointed out. I mis understood "./build.sh testparam" :(
> You really need to use build.sh, eg:
>
> I use a shell script to run build.sh that ends up doing:
>
> exec ./build.sh -x -X ../xsrc -N $N ${j:+-j $j} -T $tools -u -U -D $destdir
> -O $objdir -R $releasedir "$@"
>
this is pretty much what I used to do funnily enough, with a script in
/usr/src source called builder.sh
> David
>
> --
> David Laight: david%l8s.co.uk@localhost
>
thanks, think I will go crawl under a rock & do more reading
--
Regards,
Kimi
Home |
Main Index |
Thread Index |
Old Index