Use bsd.compiler.mk instead of src.opts.mk

- MK_PROFILE is controlled in bsd.opts.mk, which is pulled in via bsd.own.mk,
  which is pulled in via bsd.init.mk . All upstream Makefiles which build off
  of this one use bsd.init.mk.
- COMPILER_{TYPE,VERSION} is set via bsd.compiler.mk .

This reduces the namespace pollution/complexity somewhat.

MFC after:	1 week
This commit is contained in:
Enji Cooper 2017-11-07 04:55:23 +00:00
parent abec47242a
commit a2a142486a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=325500

View File

@ -1,6 +1,6 @@
# $FreeBSD$
.include <src.opts.mk>
.include <bsd.compiler.mk>
.if ${MACHINE} == "arm"
.if ${MACHINE_ARCH:Marmv[67]*} != "" && ${CPUTYPE:M*soft*} == ""