svn commit: r338050 - in head: . stand

Rodney W. Grimes freebsd at pdx.rh.CN85.dnsmgr.net
Sun Aug 19 15:31:45 UTC 2018


> Author: kevans
> Date: Sun Aug 19 14:26:33 2018
> New Revision: 338050
> URL: https://svnweb.freebsd.org/changeset/base/338050
> 
> Log:
>   stand: Flip the default interpreter to Lua
>   
>   After years in the making, lualoader is ready to make its debut. Both
>   flavors of loader are still built by default, and may be installed as
>   /boot/loader or /boot/loader.efi as appropriate either by manually creating
>   hard links or using LOADER_DEFAULT_INTERP as documented in build(7).
>   
>   Discussed with:	imp
>   Relnotes:	yes
>   Differential Revision:	https://reviews.freebsd.org/D16795

Kyle, Warner,
	Did we have a 12.0 release action item for this,
I thought there was one but I cant seem to locate it.
If not no worries, just wanted to mark off the PR: as done.

Thanks,
Rod

> Modified:
>   head/UPDATING
>   head/stand/defs.mk
> 
> Modified: head/UPDATING
> ==============================================================================
> --- head/UPDATING	Sun Aug 19 14:25:28 2018	(r338049)
> +++ head/UPDATING	Sun Aug 19 14:26:33 2018	(r338050)
> @@ -31,6 +31,15 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12.x IS SLOW:
>  	disable the most expensive debugging functionality run
>  	"ln -s 'abort:false,junk:false' /etc/malloc.conf".)
>  
> +20180818:
> +	The default interpreter has been switched from 4th to Lua.
> +	LOADER_DEFAULT_INTERP, documented in build(7), will override the default
> +	interpreter.  If you have custom FORTH code you will need to set
> +	LOADER_DEFAULT_INTERP=4th (valid values are 4th, lua or simp) in
> +	src.conf for the build.  This will create default hard links between
> +	loader and loader_4th instead of loader and loader_lua, the new default.
> +	If you are using UEFI it will create the proper hard link to loader.efi.
> +
>  20180815:
>  	ls(1) now respects the COLORTERM environment variable used in other
>  	systems and software to indicate that a colored terminal is both
> 
> Modified: head/stand/defs.mk
> ==============================================================================
> --- head/stand/defs.mk	Sun Aug 19 14:25:28 2018	(r338049)
> +++ head/stand/defs.mk	Sun Aug 19 14:26:33 2018	(r338050)
> @@ -154,10 +154,10 @@ CFLAGS+=	-mlittle-endian
>  #
>  # Have a sensible default
>  #
> -.if ${MK_FORTH} == "yes"
> -LOADER_DEFAULT_INTERP?=4th
> -.elif ${MK_LOADER_LUA} == "yes"
> +.if ${MK_LOADER_LUA} == "yes"
>  LOADER_DEFAULT_INTERP?=lua
> +.elif ${MK_FORTH} == "yes"
> +LOADER_DEFAULT_INTERP?=4th
>  .else
>  LOADER_DEFAULT_INTERP?=simp
>  .endif
> 
> 

-- 
Rod Grimes                                                 rgrimes at freebsd.org


More information about the svn-src-head mailing list