Date: Sun, 11 May 2014 09:14:46 -0600 From: Warner Losh <imp@bsdimp.com> To: bycn82 <bycn82@gmail.com> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: Makefile Problem of FreeBSD-Current Message-ID: <3339745E-1C55-4265-9E17-C1515C1D0430@gmail.com> In-Reply-To: <536F71F0.9030605@gmail.com> References: <536F71F0.9030605@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On May 11, 2014, at 6:49 AM, bycn82 <bycn82@gmail.com> wrote:
> As you can see below . it still did not find the src.opts.mk
>=20
>=20
> root@FB10Head:/usr/src/sbin/ipfw # make
> make: "/usr/src/sbin/ipfw/Makefile" line 3: Could not find src.opts.mk
> make: "/usr/src/sbin/ipfw/Makefile" line 9: Malformed conditional =
(${MK_PF} !=3D "no")
> make: "/usr/src/sbin/ipfw/../Makefile.inc" line 4: Could not find =
src.opts.mk
> make: "/usr/src/sbin/ipfw/../Makefile.inc" line 9: Malformed =
conditional (${MK_DYNAMICROOT} =3D=3D "no")
> make: Fatal errors encountered -- cannot continue
> make: stopped in /usr/src/sbin/ipfw
> root@FB10Head:/usr/src/sbin/ipfw # uname -a
> FreeBSD FB10Head 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r265868: Sun May =
11 11:44:35 UTC 2014 root@FB10Head:/usr/obj/usr/src/sys/GENERIC =
amd64
=46rom UPDATING:
20140505:
/etc/src.conf now affects only builds of the FreeBSD src tree. =
In the
past, it affected all builds that used the bsd.*.mk files. The =
old
behavior was a bug, but people may have relied upon it. To get =
this
behavior back, you can .include /etc/src.conf fro20140505:
/etc/src.conf now affects only builds of the FreeBSD src tree. =
In the
past, it affected all builds that used the bsd.*.mk files. The =
old
behavior was a bug, but people may have relied upon it. To get =
this
behavior back, you can .include /etc/src.conf from =
/etc/make.conf
(which is still global and isn't changed). This also changes the
behavior of incremental builds inside the tree of individual
directories. Set MAKESYSPATH to ".../share/mk" to do that.
Although this has survived make universe and some upgrade =
scenarios,
other upgrade scenarios may have broken. At least one form of
temporary breakage was fixed with MAKESYSPATH settings for =
buildworld
as well...
Since you are building inside the tree, did you set MAKESYSPATH as =
outlined in UPDATING?
Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3339745E-1C55-4265-9E17-C1515C1D0430>
