git: 090e9752d729 - main - Additions to targets/pseudo/host-tools

From: Simon J. Gerraty <sjg_at_FreeBSD.org>
Date: Thu, 27 Apr 2023 21:17:36 UTC
The branch main has been updated by sjg:

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

commit 090e9752d7291db0c251a5576892e3bbbaea2479
Author:     Simon J. Gerraty <sjg@FreeBSD.org>
AuthorDate: 2023-04-27 21:16:49 +0000
Commit:     Simon J. Gerraty <sjg@FreeBSD.org>
CommitDate: 2023-04-27 21:16:49 +0000

    Additions to targets/pseudo/host-tools
    
    More tools needed to be built for Linux.
    These are the ones that "just work".
---
 targets/pseudo/host-tools/Makefile.depend.host | 24 +++++++++++++++++++++---
 usr.bin/awk/Makefile.depend.host               | 11 +++++++++++
 usr.bin/awk/Makefile.depend.options            |  6 ++++++
 usr.bin/cap_mkdb/Makefile.depend.host          | 11 +++++++++++
 usr.bin/cap_mkdb/Makefile.depend.options       |  6 ++++++
 usr.bin/file2c/Makefile.depend.host            | 11 +++++++++++
 usr.bin/file2c/Makefile.depend.options         |  6 ++++++
 usr.bin/lex/Makefile.depend.host               | 11 +++++++++++
 usr.bin/lex/Makefile.depend.options            |  6 ++++++
 usr.bin/mkdep/Makefile.depend.host             | 11 +++++++++++
 usr.bin/mkdep/Makefile.depend.options          |  6 ++++++
 usr.bin/rpcgen/Makefile.depend.host            | 11 +++++++++++
 usr.bin/rpcgen/Makefile.depend.options         |  6 ++++++
 usr.bin/sed/Makefile.depend.host               | 11 +++++++++++
 usr.bin/sed/Makefile.depend.options            |  6 ++++++
 usr.bin/xargs/Makefile.depend.host             | 11 +++++++++++
 usr.bin/xargs/Makefile.depend.options          |  6 ++++++
 usr.bin/yacc/Makefile.depend.host              | 11 +++++++++++
 usr.bin/yacc/Makefile.depend.options           |  6 ++++++
 19 files changed, 174 insertions(+), 3 deletions(-)

diff --git a/targets/pseudo/host-tools/Makefile.depend.host b/targets/pseudo/host-tools/Makefile.depend.host
index 3be07061c202..a4525705b64b 100644
--- a/targets/pseudo/host-tools/Makefile.depend.host
+++ b/targets/pseudo/host-tools/Makefile.depend.host
@@ -1,7 +1,25 @@
 DIRDEPS= \
-        usr.bin/mkimg \
-        usr.bin/tar \
-        usr.sbin/makefs \
+	usr.bin/awk \
+	usr.bin/cap_mkdb \
+	usr.bin/file2c \
+	usr.bin/lex \
+	usr.bin/mkdep \
+	usr.bin/rpcgen \
+	usr.bin/sed \
+	usr.bin/xargs \
+	usr.bin/yacc \
+	usr.bin/mkimg \
+	usr.bin/tar \
+	usr.sbin/makefs \
+
+# these need work
+xDIRDEPS+= \
+	bin/dd \
+	bin/sh \
+	usr.bin/lockf \
+	usr.bin/stat \
+	usr.sbin/mtree \
+
 
 .include <dirdeps.mk>
 
diff --git a/usr.bin/awk/Makefile.depend.host b/usr.bin/awk/Makefile.depend.host
new file mode 100644
index 000000000000..f80275d86ab1
--- /dev/null
+++ b/usr.bin/awk/Makefile.depend.host
@@ -0,0 +1,11 @@
+# $FreeBSD$
+# Autogenerated - do NOT edit!
+
+DIRDEPS = \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/usr.bin/awk/Makefile.depend.options b/usr.bin/awk/Makefile.depend.options
new file mode 100644
index 000000000000..4dcc6c412671
--- /dev/null
+++ b/usr.bin/awk/Makefile.depend.options
@@ -0,0 +1,6 @@
+DIRDEPS_OPTIONS = host_egacy
+
+DIRDEPS.host_egacy.yes = tools/build
+
+.include <dirdeps-options.mk>
+
diff --git a/usr.bin/cap_mkdb/Makefile.depend.host b/usr.bin/cap_mkdb/Makefile.depend.host
new file mode 100644
index 000000000000..f80275d86ab1
--- /dev/null
+++ b/usr.bin/cap_mkdb/Makefile.depend.host
@@ -0,0 +1,11 @@
+# $FreeBSD$
+# Autogenerated - do NOT edit!
+
+DIRDEPS = \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/usr.bin/cap_mkdb/Makefile.depend.options b/usr.bin/cap_mkdb/Makefile.depend.options
new file mode 100644
index 000000000000..4dcc6c412671
--- /dev/null
+++ b/usr.bin/cap_mkdb/Makefile.depend.options
@@ -0,0 +1,6 @@
+DIRDEPS_OPTIONS = host_egacy
+
+DIRDEPS.host_egacy.yes = tools/build
+
+.include <dirdeps-options.mk>
+
diff --git a/usr.bin/file2c/Makefile.depend.host b/usr.bin/file2c/Makefile.depend.host
new file mode 100644
index 000000000000..f80275d86ab1
--- /dev/null
+++ b/usr.bin/file2c/Makefile.depend.host
@@ -0,0 +1,11 @@
+# $FreeBSD$
+# Autogenerated - do NOT edit!
+
+DIRDEPS = \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/usr.bin/file2c/Makefile.depend.options b/usr.bin/file2c/Makefile.depend.options
new file mode 100644
index 000000000000..4dcc6c412671
--- /dev/null
+++ b/usr.bin/file2c/Makefile.depend.options
@@ -0,0 +1,6 @@
+DIRDEPS_OPTIONS = host_egacy
+
+DIRDEPS.host_egacy.yes = tools/build
+
+.include <dirdeps-options.mk>
+
diff --git a/usr.bin/lex/Makefile.depend.host b/usr.bin/lex/Makefile.depend.host
new file mode 100644
index 000000000000..f80275d86ab1
--- /dev/null
+++ b/usr.bin/lex/Makefile.depend.host
@@ -0,0 +1,11 @@
+# $FreeBSD$
+# Autogenerated - do NOT edit!
+
+DIRDEPS = \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/usr.bin/lex/Makefile.depend.options b/usr.bin/lex/Makefile.depend.options
new file mode 100644
index 000000000000..4dcc6c412671
--- /dev/null
+++ b/usr.bin/lex/Makefile.depend.options
@@ -0,0 +1,6 @@
+DIRDEPS_OPTIONS = host_egacy
+
+DIRDEPS.host_egacy.yes = tools/build
+
+.include <dirdeps-options.mk>
+
diff --git a/usr.bin/mkdep/Makefile.depend.host b/usr.bin/mkdep/Makefile.depend.host
new file mode 100644
index 000000000000..f80275d86ab1
--- /dev/null
+++ b/usr.bin/mkdep/Makefile.depend.host
@@ -0,0 +1,11 @@
+# $FreeBSD$
+# Autogenerated - do NOT edit!
+
+DIRDEPS = \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/usr.bin/mkdep/Makefile.depend.options b/usr.bin/mkdep/Makefile.depend.options
new file mode 100644
index 000000000000..4dcc6c412671
--- /dev/null
+++ b/usr.bin/mkdep/Makefile.depend.options
@@ -0,0 +1,6 @@
+DIRDEPS_OPTIONS = host_egacy
+
+DIRDEPS.host_egacy.yes = tools/build
+
+.include <dirdeps-options.mk>
+
diff --git a/usr.bin/rpcgen/Makefile.depend.host b/usr.bin/rpcgen/Makefile.depend.host
new file mode 100644
index 000000000000..f80275d86ab1
--- /dev/null
+++ b/usr.bin/rpcgen/Makefile.depend.host
@@ -0,0 +1,11 @@
+# $FreeBSD$
+# Autogenerated - do NOT edit!
+
+DIRDEPS = \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/usr.bin/rpcgen/Makefile.depend.options b/usr.bin/rpcgen/Makefile.depend.options
new file mode 100644
index 000000000000..4dcc6c412671
--- /dev/null
+++ b/usr.bin/rpcgen/Makefile.depend.options
@@ -0,0 +1,6 @@
+DIRDEPS_OPTIONS = host_egacy
+
+DIRDEPS.host_egacy.yes = tools/build
+
+.include <dirdeps-options.mk>
+
diff --git a/usr.bin/sed/Makefile.depend.host b/usr.bin/sed/Makefile.depend.host
new file mode 100644
index 000000000000..f80275d86ab1
--- /dev/null
+++ b/usr.bin/sed/Makefile.depend.host
@@ -0,0 +1,11 @@
+# $FreeBSD$
+# Autogenerated - do NOT edit!
+
+DIRDEPS = \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/usr.bin/sed/Makefile.depend.options b/usr.bin/sed/Makefile.depend.options
new file mode 100644
index 000000000000..4dcc6c412671
--- /dev/null
+++ b/usr.bin/sed/Makefile.depend.options
@@ -0,0 +1,6 @@
+DIRDEPS_OPTIONS = host_egacy
+
+DIRDEPS.host_egacy.yes = tools/build
+
+.include <dirdeps-options.mk>
+
diff --git a/usr.bin/xargs/Makefile.depend.host b/usr.bin/xargs/Makefile.depend.host
new file mode 100644
index 000000000000..f80275d86ab1
--- /dev/null
+++ b/usr.bin/xargs/Makefile.depend.host
@@ -0,0 +1,11 @@
+# $FreeBSD$
+# Autogenerated - do NOT edit!
+
+DIRDEPS = \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/usr.bin/xargs/Makefile.depend.options b/usr.bin/xargs/Makefile.depend.options
new file mode 100644
index 000000000000..4dcc6c412671
--- /dev/null
+++ b/usr.bin/xargs/Makefile.depend.options
@@ -0,0 +1,6 @@
+DIRDEPS_OPTIONS = host_egacy
+
+DIRDEPS.host_egacy.yes = tools/build
+
+.include <dirdeps-options.mk>
+
diff --git a/usr.bin/yacc/Makefile.depend.host b/usr.bin/yacc/Makefile.depend.host
new file mode 100644
index 000000000000..f80275d86ab1
--- /dev/null
+++ b/usr.bin/yacc/Makefile.depend.host
@@ -0,0 +1,11 @@
+# $FreeBSD$
+# Autogenerated - do NOT edit!
+
+DIRDEPS = \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/usr.bin/yacc/Makefile.depend.options b/usr.bin/yacc/Makefile.depend.options
new file mode 100644
index 000000000000..4dcc6c412671
--- /dev/null
+++ b/usr.bin/yacc/Makefile.depend.options
@@ -0,0 +1,6 @@
+DIRDEPS_OPTIONS = host_egacy
+
+DIRDEPS.host_egacy.yes = tools/build
+
+.include <dirdeps-options.mk>
+