make release changes?

Sam Lawrance boris at brooknet.com.au
Tue May 10 19:25:38 PDT 2005


On Tue, 2005-05-10 at 18:22 +0100, Steven Hartland wrote:
> My old make release command no longer works for 5.4 and I'm at a loss
> to track down the cause or to find a nice solution.
> Basically I have one build box which builds all the various releases structure:
> /usr/$VERSION/src
> /usr/$VERSION/obj
> e.g.
> /usr/5.4/src
> /usr/5.4/obj
> With all the relavent files. This used to work fine with the following release line:
> make release \
>     BUILDNAME=$VERSION-RELEASE \
>     CHROOTDIR=/usr/local/release-$VERSION \
>     CVSROOT=/home/ncvs \
>     RELEASETAG=RELENG_$TAG \
>     NOPORTS=YES
>     DOC_LANG=en_US.ISO8859-1 \
>     MAKE_ISOS=1 \
>     WORLDDIR=/usr/$VERSION/src \
>     NODOC=YES
> 
> N.B. MAKEOBJDIRPREFIX=/usr/$VERSION/obj
> 
> This now produces:
> ===> lib
> ===> lib/csu/i386-elf
> make: don't know how to make /usr/obj/usr/src/i386/usr/include/stdlib.h. Stop
> 
> This is obviously wrong as it should be /usr/5.4/usr/5.4/src/.... so some how
> MAKEOBJDIRPREFIX and WORLDDIR are getting lost. Anyone seen this
> before?

Missing a backslash on the end of NOPORTS=YES?





More information about the freebsd-hackers mailing list