diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2018-04-06 17:35:35 +0000 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-10-28 09:42:21 +0200 |
commit | 813178793a135f20eedafd5ee831ea64dad37e6c (patch) | |
tree | f654b51e1fea98d486f0ff4e17cda13adb371e75 | |
parent | a29917e8e465125e2b6b5d9c0f0e3eca53fff859 (diff) |
Move most of the contents of opt_compat.h
to opt_global.h.
opt_compat.h is mentioned in nearly 180 files. In-progress network
driver compabibility improvements may add over 100 more so this is
closer to "just about everywhere" than "only some files" per the
guidance in sys/conf/options.
Keep COMPAT_LINUX32 in opt_compat.h as it is confined to a subset of
sys/compat/linux/*.c. A fake _COMPAT_LINUX option ensure opt_compat.h
is created on all architectures.
Move COMPAT_LINUXKPI to opt_dontuse.h as it is only used to control the
set of compiled files.
Reviewed by: kib, cem, jhb, jtl
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D14941
-rw-r--r-- | cpukit/score/src/kern_tc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cpukit/score/src/kern_tc.c b/cpukit/score/src/kern_tc.c index f0726c7b23..721a074e90 100644 --- a/cpukit/score/src/kern_tc.c +++ b/cpukit/score/src/kern_tc.c @@ -65,7 +65,6 @@ #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); -#include "opt_compat.h" #include "opt_ntp.h" #include "opt_ffclock.h" |