Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Where does the kernel get built?



On Mon, Nov 28, 2011 at 12:55:04PM -0500, D'Arcy Cain wrote:
> Now I get this:
> 
> obj ===> tools
> obj ===> tools/host-mkdep
> #    objdir  /usr/obj/tools/host-mkdep
> ln: obj: Permission denied
> ...etc.

Fwiw, I have nothing in my mk.conf, but I run build.sh like this and as far
as I can tell it doesn't modify my source tree at all:

BDIR=/space/netbsd/build-current
./build.sh \
    -D ${BDIR}/destdir \
    -M ${BDIR}/obj \
    -R ${BDIR}/release \
    -T ${BDIR}/tools \
    -U "$@"

The relevant option, -M, sets MAKEOBJDIRPREFIX, but as Alan said it needs to be 
done in the environment.

eric


Home | Main Index | Thread Index | Old Index