aboutsummaryrefslogtreecommitdiff
path: root/stand/loader.mk
diff options
context:
space:
mode:
Diffstat (limited to 'stand/loader.mk')
-rw-r--r--stand/loader.mk9
1 files changed, 5 insertions, 4 deletions
diff --git a/stand/loader.mk b/stand/loader.mk
index beac0028f150..f0d6859764ea 100644
--- a/stand/loader.mk
+++ b/stand/loader.mk
@@ -57,19 +57,20 @@ SRCS+= isapnp.c
SRCS+= pnp.c
.endif
-# Forth interpreter
-.if ${MK_LOADER_LUA} != "no"
+.if ${LOADER_INTERP} == "lua"
SRCS+= interp_lua.c
.include "${BOOTSRC}/lua.mk"
LDR_INTERP= ${LIBLUA}
LDR_INTERP32= ${LIBLUA32}
-.elif ${MK_FORTH} != "no"
+.elif ${LOADER_INTERP} == "4th"
SRCS+= interp_forth.c
.include "${BOOTSRC}/ficl.mk"
LDR_INTERP= ${LIBFICL}
LDR_INTERP32= ${LIBFICL32}
-.else
+.elif ${LOADER_INTERP} == "simp"
SRCS+= interp_simple.c
+.else
+.error Unknown interpreter ${LOADER_INTERP}
.endif
.if defined(BOOT_PROMPT_123)