From 2ec3d49ea35633132aa8a7d2f6ddac3e8f9060bd Mon Sep 17 00:00:00 2001
From: Warner Losh <imp@FreeBSD.org>
Date: Thu, 15 Feb 2018 18:58:03 +0000
Subject: [PATCH] Simplify building before installing.

---
 tools/boot/lua-img.sh | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tools/boot/lua-img.sh b/tools/boot/lua-img.sh
index eea6383e374b..294135da280c 100755
--- a/tools/boot/lua-img.sh
+++ b/tools/boot/lua-img.sh
@@ -20,7 +20,6 @@ mkdir -p ${dir}
 mtree -deUW -f etc/mtree/BSD.root.dist -p ${dir}
 mtree -deUW -f etc/mtree/BSD.usr.dist -p ${dir}/usr
 cd stand
-make MK_LOADER_LUA=yes MK_FORTH=no
-make install DESTDIR=${dir} NO_ROOT=t MK_LOADER_LUA=yes MK_FORTH=no MK_INSTALL_AS_USER=yes
+make all install DESTDIR=${dir} NO_ROOT=t MK_LOADER_LUA=yes MK_FORTH=no MK_INSTALL_AS_USER=yes
 mkdir -p ${dir}/boot/kernel
 cp /boot/kernel/kernel ${dir}/boot/kernel