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
This commit is contained in:
Kyle Evans 2018-08-19 14:26:33 +00:00
parent 759a4bc697
commit f9f8ac94cd
2 changed files with 12 additions and 3 deletions

View File

@ -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

View File

@ -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