freebsd-src/tools
Ayrton Munoz b6672803a1 cross-build: Avoid adding <sys/cdefs.h> to SYSINCS
Summary:
The sys/cdefs.h in src is incompatible with glibc's sys/cdefs.h so
cross-building broke when the former was added to SYSINCS in 1c9ff80f06. This
commit adds a guard around that to only do that when building on FreeBSD. This
should fix github CI.

Test Plan:
Ran buildkernel using tools/build/make.py on linux in github CI and
locally on FreeBSD to double check nothing broke.

Reviewed by:    dim
MFC after:      3 days
Differential Revision: https://reviews.freebsd.org/D54385
2025-12-29 03:04:45 +01:00
..
boot boot/universe.sh: toggle LOADER_BIOS_TEXTONLY 2025-09-16 00:38:56 +03:00
bsdbox bsdbox: use paths relative to SRCTOP instead of .CURDIR 2025-04-20 22:45:02 -05:00
build cross-build: Avoid adding <sys/cdefs.h> to SYSINCS 2025-12-29 03:04:45 +01:00
bus_space Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
coccinelle pseudofs: return errors from pfs_create_*() 2025-09-03 21:08:52 -05:00
debugscripts Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:20 -06:00
diag tools/diag/prtblknos: fix build 2025-05-27 15:12:04 -08:00
ifnet convert_ifapi: handle the special case of getting interface name 2025-05-28 15:31:53 +08:00
kerneldoc random: remove hifn(4) 2025-10-28 16:46:15 -07: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 tools/regression/priv: Don't call setgroups() with the effective GID 2025-09-17 14:16:08 +02:00
sched Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
test stress2: Fix looping at exit and fix the cleanup 2025-12-12 10:19:23 +01:00
tools locale: make install Unicode 17.0.0/CLDR 48 2025-12-08 18:44:21 +00:00
uma/smrstress machine/stdarg.h -> sys/stdarg.h 2025-06-11 17:39:02 +01: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.