SSP_CFLAGS for kernel

Kevin Oberman rkoberman at gmail.com
Sat May 5 18:55:48 UTC 2018


On Sat, May 5, 2018 at 4:33 AM, Rozhuk Ivan <rozhuk.im at gmail.com> wrote:

> On Sat, 5 May 2018 12:38:37 +0200
> bryn1u85 <m.bryn1u at gmail.com> wrote:
>
> > Don't touch src.conf
>
> I want to buils kernel and system with SSP too


Not relevant.

/etc/make.conf definitions are applied to ALL make operations and that
includes kernel and module building.
/etc/src.conf definitions are only applied to the kernel, modules, and
ports. When src.conf was created, it was explicitly NOT intended that the
file be used for building ports, but someone has changed that. It probably
should have been used for ports that built kernel modules, but not any
others, but that is not the case.
>From bsd.port.mk:
# We prefer to pass MK_*=no but it was only supported after a certain
# revision.  Passing WITHOUT_* may conflict with a make.conf or src.conf's
# WITH_* value.  Note that ports *do* pull in src.conf.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman at gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683


More information about the freebsd-current mailing list