aboutsummaryrefslogtreecommitdiff
path: root/tools/build
diff options
context:
space:
mode:
authorJessica Clarke <jrtc27@FreeBSD.org>2023-12-13 21:43:10 +0000
committerJessica Clarke <jrtc27@FreeBSD.org>2023-12-13 21:43:10 +0000
commitff7c12c1f17e52337169d8ce48433fae96a9c9db (patch)
treec513fc2d0b86c19ab3a25e1d0a58d56f6571fb98 /tools/build
parente131d3f4f34fdbce465524f7b1093f01acc9de7c (diff)
downloadsrc-ff7c12c1f17e52337169d8ce48433fae96a9c9db.tar.gz
src-ff7c12c1f17e52337169d8ce48433fae96a9c9db.zip
Make kldxref a bootstrap tool and use unconditionally
Now that kldxref is a generic cross tool and can be built on non-FreeBSD we can bootstrap it during the build and thus remove the condition for whether it exists. We also need to make sure to add it to the METALOG for -DNO_ROOT builds. Reviewed by: brooks, imp Differential Revision: https://reviews.freebsd.org/D43051
Diffstat (limited to 'tools/build')
-rw-r--r--tools/build/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/build/Makefile b/tools/build/Makefile
index 78c46dfeacbc..187d5593564d 100644
--- a/tools/build/Makefile
+++ b/tools/build/Makefile
@@ -303,6 +303,8 @@ SYSINCS+= ${SRCTOP}/sys/sys/elf.h
SYSINCS+= ${SRCTOP}/sys/sys/ctf.h
# for kbdcontrol:
SYSINCS+= ${SRCTOP}/sys/sys/kbio.h
+# for kldxref:
+SYSINCS+= ${SRCTOP}/sys/sys/module.h
# We want to run the build with only ${WORLDTMP} in $PATH to ensure we don't
# accidentally run tools that are incompatible but happen to be in $PATH.