svn commit: r320127 - in head: . share/mk

Justin Hibbits jrh29 at alumni.cwru.edu
Tue Jun 20 15:37:40 UTC 2017


On Mon, Jun 19, 2017 at 9:09 PM, Emmanuel Vadot <manu at freebsd.org> wrote:
> Author: manu
> Date: Tue Jun 20 02:09:50 2017
> New Revision: 320127
> URL: https://svnweb.freebsd.org/changeset/base/320127
>
> Log:
>   Switch back to the BSDL DTC (Device Tree Compiler).
>   The BSDL dtc has grown the needed features (overlays mostly) and is able to
>   compile all of our base DTS.
>   You can use WITH_GPL_DTC is you need the GPL one or DTC= in make.conf(5)
>   to specify an alternate location for the compiler to use.
>
>   Discussed with: emaste, imp
>
> Modified:
>   head/UPDATING
>   head/share/mk/src.opts.mk
>
> Modified: head/UPDATING
> ==============================================================================
> --- head/UPDATING       Mon Jun 19 22:07:53 2017        (r320126)
> +++ head/UPDATING       Tue Jun 20 02:09:50 2017        (r320127)
> @@ -51,6 +51,10 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12.x IS SLOW:
>
>  ****************************** SPECIAL WARNING: ******************************
>
> +20170620:
> +       Switch back to the BSDL dtc (Device Tree Compiler), Set WITH_GPL_DTC
> +       if you require the GPL compiler.
> +
>  20170618:
>         The internal ABI used for communication between the NFS kernel modules
>         was changed by r320085, so __FreeBSD_version was bumped to
>
> Modified: head/share/mk/src.opts.mk
> ==============================================================================
> --- head/share/mk/src.opts.mk   Mon Jun 19 22:07:53 2017        (r320126)
> +++ head/share/mk/src.opts.mk   Tue Jun 20 02:09:50 2017        (r320127)
> @@ -101,7 +101,6 @@ __DEFAULT_YES_OPTIONS = \
>      GNU_DIFF \
>      GNU_GREP \
>      GPIO \
> -    GPL_DTC \
>      HAST \
>      HTML \
>      HYPERV \
> @@ -181,6 +180,7 @@ __DEFAULT_NO_OPTIONS = \
>      CLANG_EXTRAS \
>      DTRACE_TESTS \
>      GNU_GREP_COMPAT \
> +    GPL_DTC \
>      HESIOD \
>      LIBSOFT \
>      NAND \
>

Given that usr.bin/Makefile wrapps dtc in a .if
${COMPILER_FEATURES:Mc++11} block, you just disabled dtc on powerpc
(powerpc currently does not build clang, and relies instead on base
gcc.  This will change in the future, hopefully the near future, but
for now, it's reliant on gcc)

- Justin


More information about the svn-src-all mailing list