Date: Fri, 13 Nov 2015 09:22:04 -0800 From: "Simon J. Gerraty" <sjg@juniper.net> To: Bryan Drewery <bdrewery@FreeBSD.org> Cc: <brooks@FreeBSD.org>, <imp@FreeBSD.org>, <emaste@FreeBSD.org>, <toolchain@FreeBSD.org>, <sjg@juniper.net> Subject: Re: Meta mode toolchain bootstrapping [was Re: FreeBSD targets/ out-of-date] Message-ID: <21917.1447435324@chaos> In-Reply-To: <56453F0D.90206@FreeBSD.org> References: <55E769EF.7090908@FreeBSD.org> <4924.1441306006@chaos> <56450AB8.90402@FreeBSD.org> <13427.1447371730@chaos> <56453F0D.90206@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Bryan Drewery <bdrewery@FreeBSD.org> wrote: > > WITH_META_FILES should give you improvements already in that regard. > > Yes, it's a step. We'll need cookies in a lot of places too. I wish > WITH_META_MODE had been WITH_META_BUILD or WITH_DIRDEPS_BUILD so I could WITH_DIRDEPS_BUILD would be more accurate. Its not too late to rename/add it. > check for "META_MODE" in the buildworld world and for discussion sake. > It seems I can use ${.MAKE.MODE:M*meta*} but that :U is needed in all > the uses. I'm not sure yet if :U really is needed. We have some > ${MK_META_MODE} checks now around some cookies that would need to change > for what I'm planning. I think I mentioned the otherday of having something like: .if ${MK_META_MODE} == "yes" # we can safely use cookies to avoid always # re-running targets. META_COOKIE_TOUCH= touch ${COOKIE.${.TARGET}:U${.TARGET}} .else META_COOKIE_TOUCH= .endif in meta.sys.mk so you could just add ${META_COOKIE_TOUCH} to the end of suitable targets. > > Indeed. As I say, NetBSD have this reasonably sorted. > > But of course they have 2k line shell script driving a lot of it ;-) > > Yes the NetBSD build, behavior wise, really impresses me. I prefer building it in meta mode though ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?21917.1447435324>