git: e47161e5f1f0 - main - loader: update dependencies for dirdeps build

From: Stephen J. Kiernan <stevek_at_FreeBSD.org>
Date: Wed, 18 Sep 2024 15:24:12 UTC
The branch main has been updated by stevek:

URL: https://cgit.FreeBSD.org/src/commit/?id=e47161e5f1f01ef300c6e7efdb9c92e3a6c497ff

commit e47161e5f1f01ef300c6e7efdb9c92e3a6c497ff
Author:     Stephen J. Kiernan <stevek@FreeBSD.org>
AuthorDate: 2023-04-19 17:48:53 +0000
Commit:     Stephen J. Kiernan <stevek@FreeBSD.org>
CommitDate: 2024-09-18 15:22:34 +0000

    loader: update dependencies for dirdeps build
    
    Add dependencies for MK_FDT and MK_FORTH knobs
    Update dependencies for MK_LOADER_LUA knob
---
 stand/efi/loader/Makefile.depend.options | 10 +++++++++-
 stand/uboot/Makefile.depend              |  1 +
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/stand/efi/loader/Makefile.depend.options b/stand/efi/loader/Makefile.depend.options
index 20292bab9bcd..33c99a773af5 100644
--- a/stand/efi/loader/Makefile.depend.options
+++ b/stand/efi/loader/Makefile.depend.options
@@ -1,7 +1,15 @@
 # options that impact our dependencies
-DIRDEPS_OPTIONS = LOADER_LUA
+DIRDEPS_OPTIONS = FDT FORTH LOADER_LUA
+
+DIRDEPS.FDT.yes += \
+	stand/fdt \
+	stand/efi/fdt \
+
+DIRDEPS.FORTH.yes += \
+	stand/ficl \
 
 DIRDEPS.LOADER_LUA.yes += \
 	stand/liblua \
+	stand/lua \
 
 .include <dirdeps-options.mk>
diff --git a/stand/uboot/Makefile.depend b/stand/uboot/Makefile.depend
index ce51494084aa..4f7d14fe96fe 100644
--- a/stand/uboot/Makefile.depend
+++ b/stand/uboot/Makefile.depend
@@ -3,6 +3,7 @@
 
 DIRDEPS = \
 	stand/fdt \
+	stand/libsa \
 
 
 .include <dirdeps.mk>