freebsd-src/tools
Jessica Clarke 968a3db715 kbdcontrol: Support building as a bootstrap tool on old and non-FreeBSD
Systems that predate 971bac5ace ("kbd: consolidate kb interfaces
(phase one)") cannot build kbdcontrol since kbdelays and kbrates moved
to sys/kbio.h. Moreover, on non-FreeBSD, it requires all kinds of ioctls
and sysctls that are highly FreeBSD-specific to build, but we use it as
a bootstrap tool to generate the keymaps used by some kernels (LINT ones
in particular). Thus, when bootstrapping kbdcontrol, disable everything
that's not needed for that singular use, and use the in-tree kbio.h to
get the definitions of the necessary structures.

This allows KBDMUX_DFLT_KEYMAP, UKBD_DFLT_KEYMAP and ATKBD_DFLT_KEYMAP
to be enabled when building on non-FreeBSD, and thus LINT kernels.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D41541
2023-08-22 21:00:28 +01:00
..
boot Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
bsdbox Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:20 -06:00
build kbdcontrol: Support building as a bootstrap tool on old and non-FreeBSD 2023-08-22 21:00:28 +01:00
bus_space Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
coccinelle copystr(9): Move to deprecate (attempt #2) 2020-05-25 16:40:48 +00:00
debugscripts Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:20 -06:00
diag Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:20 -06:00
ifnet Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
kerneldoc Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:20 -06:00
LibraryReport Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
lua Remove $FreeBSD$: one-line lua tag 2023-08-16 11:55:34 -06:00
pkgbase Remove $FreeBSD$: one-line lua tag 2023-08-16 11:55:34 -06:00
regression Remove my middle name. 2023-08-17 15:08:30 +02:00
sched Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
test stress2: No need to write to the console. Add revision to log string 2023-08-19 09:29:09 +02:00
tools Use 115200 bps by default for serial communication 2023-08-17 13:31:38 -04:00
uma/smrstress Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
install.sh Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
make_libdeps.sh Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
README Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:20 -06:00
tinder.sh Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00

This directory tree contains tools used for the maintenance and
testing of FreeBSD.  There is no toplevel Makefile structure since
these tools are not meant to be built as part of the standard system,
though there may be individual Makefiles in some of the subdirs.

Please read the README files in the subdirs for further information.