aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2023-04-22 20:13:22 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2023-04-22 20:13:22 +0000
commit188bf8876fdc6e3edebeb76f80e764e419a65f1e (patch)
treeebba37d71d481abc9f652cd9ca0a232dcb8e5a4f /lib
parentdb98bc2c0d3aae1772ee773c22c8d01d2add6c92 (diff)
downloadsrc-188bf8876fdc6e3edebeb76f80e764e419a65f1e.tar.gz
src-188bf8876fdc6e3edebeb76f80e764e419a65f1e.zip
Build host tools on non-FreeBSD host with DIRDEPS_BUILD
Add Makefile.depend.options to libnetbsd, mkimg and makefs to ensure libegacy is build if needed. targets/pseudo/stage/Makefile avoid the need for mtree the staging process creates target dirs as needed anyway. Reviewed by: stevek Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D39757
Diffstat (limited to 'lib')
-rw-r--r--lib/libnetbsd/Makefile.depend.options6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libnetbsd/Makefile.depend.options b/lib/libnetbsd/Makefile.depend.options
new file mode 100644
index 000000000000..4dcc6c412671
--- /dev/null
+++ b/lib/libnetbsd/Makefile.depend.options
@@ -0,0 +1,6 @@
+DIRDEPS_OPTIONS = host_egacy
+
+DIRDEPS.host_egacy.yes = tools/build
+
+.include <dirdeps-options.mk>
+