Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 2017 14:52:04 -0700
From:      "Simon J. Gerraty" <sjg@juniper.net>
To:        Bryan Drewery <bdrewery@freebsd.org>
Cc:        "Ngie Cooper (yaneurabeya)" <yaneurabeya@gmail.com>, FreeBSD Current <current@freebsd.org>, <sjg@juniper.net>
Subject:   Re: buildkernel broken for META_MODE
Message-ID:  <38292.1492552324@kaos.jnpr.net>
In-Reply-To: <8a4e0cd6-c494-3222-f166-bc424d6d2873@FreeBSD.org>
References:  <D39E557A-D7B4-4285-95D9-9FD8F0D4F335@gmail.com> <d1700f26-b086-aefb-8f86-025a7481304c@FreeBSD.org> <11023f9a-f057-4306-6d27-69194395de58@FreeBSD.org> <37722.1492551184@kaos.jnpr.net> <8a4e0cd6-c494-3222-f166-bc424d6d2873@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Bryan Drewery <bdrewery@freebsd.org> wrote:
> > What is the issue above? diff?
> =

> I don't know what the issue is with buildkernel specifically, I never
> looked into it. Buildworld had other issues like rescue/rescue not being
> AUTO_OBJ safe. That's fixed. I forget the details of buildworld as well.
> One of the simpler changes is to remove the 'make obj' treewalk and
> prefer .OBJDIR/OBJTOP over other ${CANONICALOBJDIR} ${OBJTREE} type
> hacks. My patches are quite mangled with the idea of moving to
> /usr/obj/CURDIR/TARGET.TARGET_ARCH/RELDIR and I need to split it all up
> still.

Ok

> =

> > =

> > FWIW the latest version of auto.obj.mk deals with __objdir=3Dobj which=
 is
> > a corner case compared to any use of MAKEOJDIRPREFIX etc.
> > =

> =

> It does not fix the issues.

Not this lot no.  Its for folk wanting to use the traditional
${.CURDIR}/obj/ which used to throw an error.
I haven't used ${.CURDIR}/obj/ in almost 20 years ;-)


> >  SIZE=3D"size"  INSTALL=3D"sh /root/git/freebsd/tools/install.sh"  PAT=
H=3D/usr/obj/root/git/freebsd/tmp/legacy/usr/sbin:/usr/obj/root/git/freebs=
d/tmp/legacy/usr/bin:/usr/obj/root/git/freebsd/tmp/legacy/bin:/usr/obj/roo=
t/git/freebsd/tmp/usr/sbin:/usr/obj/root/git/freebsd/tmp/usr/bin:/sbin:/bi=
n:/usr/sbin:/usr/bin make  -j 1
> > 5 -D NO_FILEMON -d M -J 15,16 -m /root/git/freebsd/share/mk  KERNEL=3D=
kernel obj
> > [Creating objdir /usr/obj/usr/obj/root/git/freebsd/sys/GENERIC...]
> Wrong^
> =

> Note we have 'cd /usr/obj/....' and 'MAKEOBJDIRPREFIX=3D/usr/obj' in
> there, so we get a nested /usr/obj/.CURDIR problem of /usr/obj/usr/obj.

Yes, ugly.



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