Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Mar 2002 00:03:55 -0500
From:      parv <parv_@yahoo.com>
To:        Ruslan Ermilov <ru@FreeBSD.ORG>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: buildworld with ro /usr/src broken
Message-ID:  <20020317050354.GA4524@moo.holy.cow>
In-Reply-To: <20020227111914.GB30220@sunbay.com>
References:  <20020209130437.GA15287@myhakas.estpak.ee> <200202091743.g19HhIm00362@beerswilling.netscum.dyndns.dk> <20020227111914.GB30220@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help
in message <20020227111914.GB30220@sunbay.com>,
wrote Ruslan Ermilov thusly...
>
...
> MAKEOBJDIR[PREFIX] only work right if set as environment variables.
> This is documented in make(1) manpage and in /usr/share/mk/bsd.obj.mk.
> 
> I have an uncommitted patch that makes it possible to set them on
> make(1)'s command line but still no joy in attempting to set them
> in /etc/make.conf.  I bear in mind adding a patch to Makefile.inc1
> too that would prevent people from attempting to set MAKEOBJDIRPREFIX
> in /etc/make.conf.

seems like it is not yet possible to use MAKEOBJDIRPREFIX again in
/etc/make.conf.  last cvsup was done on Sun Mar 17 2002 00:07:35 UTC
(end time).  (MAKEOBJDIRPREFIX could have been specified in
/etc/make.conf when i last built 4-stable around 2002-02-03 07.04.04
UTC.


if MAKEOBJDIRPREFIX (=/source/obj) had been specified,
currently, in /etc/make.conf, make buildworld would die at the point
below.  i had to unset MAKEOBJDIRPREFIX.  (/usr/src is
symlinked to /source/src-stable, and /usr/obj to /source/obj.)


...
mkdir -p /usr/obj/source/src-stable/i386/usr/include/security
mkdir -p /usr/obj/source/src-stable/i386/usr/include/ss
ln -sf /source/src-stable/sys /usr/obj/source/src-stable/i386

--------------------------------------------------------------
>>> stage 1: bootstrap tools
--------------------------------------------------------------
cd /source/src-stable; MAKEOBJDIRPREFIX=/usr/obj/source/src-stable/i386  DESTDIR=  INSTALL="sh /source/src-stable/tools/install.sh" 
make -f Makefile.inc1 -DBOOTSTRAPPING  -DNOHTML -DNOINFO -DNOMAN -DNOPIC -DNOPROFILE -DNOSHARED bootstrap-tools
cd /source/src-stable/games/fortune/strfile;  make obj;  make depend;  make all;  make DESTDIR=/usr/obj/source/src-stable/i386 insta
ll
/usr/obj/source/src-stable/i386/source/src-stable/games/fortune/strfile created for /source/src-stable/games/fortune/strfile


  - parv

-- 
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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