Subject: Re: $BSDOBJDIR/.i386
To: Jun-ichiro itojun Hagino <itojun@iijlab.net>
From: Andrew Brown <atatat@atatdot.net>
List: tech-kern
Date: 11/22/2002 10:47:32
>	when i do "make release", kernels get built under
>	$BSDOBJDIR/.i386/sys/arch/i386/compile/GENERIC and such.
>	is it an expected behavior?  shouldn't it be "obj.i386"?

i think that if you consider the "transform" to objdirs:

% stat -f "%-32N%SY" /usr/src/*bin/ca?/obj.i386 /usr/src/obj.i386
/usr/src/bin/cat/obj.i386        -> /usr/obj/i386-on-i386/bin/cat.i386
/usr/src/usr.bin/cal/obj.i386    -> /usr/obj/i386-on-i386/usr.bin/cal.i386
/usr/src/obj.i386                -> /usr/obj/i386-on-i386/.i386

you can see that in this case, the "bin/cat" (or the "usr.bin/cal")
piece got removed.  or, actually, isn't there.  since the release
kernels get built from the top of the tree, there's no subdir for the
objdir stuff to append the .i386 to.

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org             * "ah!  i see you have the internet
twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
werdna@squooshy.com       * "information is power -- share the wealth."