how to get one OBJDIR per kernel

[LoN]Kamikaze LoN_Kamikaze at gmx.de
Mon Sep 11 03:40:26 PDT 2006


[LoN]Kamikaze wrote:
> ... The trouble is
> that different kernels still clash in the same OBJDIR. I would like to
> have something like MAKEOBJDIRPREFIX=/usr/obj/${KERNCONF} , the trouble
> being that it cannot be set in make.conf .
> Is there a way around this restriction?
> 

Just for the record I found a solution. My first test indicates that it
works fine, that makes me wonder why the restriction is there.

.if !make(dummy)
MAKEOBJDIRPREFIX=	${WRKDIRPREFIX}/${KERNCONF}
.endif


More information about the freebsd-questions mailing list