Date: Mon, 7 Dec 2015 14:15:45 -0800 From: "Simon J. Gerraty" <sjg@juniper.net> To: Mark Millard <markmi@dsl-only.net> Cc: FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>, FreeBSD Toolchain <freebsd-toolchain@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>, <sjg@juniper.net> Subject: Re: 11.0-CURRENT SRC_ENV_CONF file vs. MAKEOBJDIRPREFIX in the file: they do not mix Message-ID: <2852.1449526545@chaos> In-Reply-To: <D5A9EE24-519D-4870-9370-64FB826130DA@dsl-only.net> References: <A9ECA670-0B14-455E-BB22-7B546CE182CB@dsl-only.net> <2426.1449521335@chaos> <D5A9EE24-519D-4870-9370-64FB826130DA@dsl-only.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Mark Millard <markmi@dsl-only.net> wrote: > >> MAKEOBJDIRPREFIX=/usr/obj/xtoolchain > > > > You should use ?= if you want this to work. > > There are many places in Makefile.inc1 where MAKEOBJDIRPREFIX is tweaked > > in the environment of a sub-make. > > > > By using = above, you break that. > > That presumes that MAKEOBJDIRPREFIX has not been assigned a default > value before the SRC_ENV_CONF file has been included the first > time. Yes. If that's a concern: .if ${.MAKE.LEVEL} == 0 MAKEOBJDIRPREFIX= /usr/obj/xtoolchain .export MAKEOBJDIRPREFIX .endif will do what you want.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2852.1449526545>