Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Aug 2018 14:26:33 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r338050 - in head: . stand
Message-ID:  <201808191426.w7JEQXXr054123@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808191426.w7JEQXXr054123>