diff options
author | Chris Johns <chrisj@rtems.org> | 2020-09-03 09:54:27 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2020-09-16 15:49:37 +1000 |
commit | c38f93b0c6da8c1da59e611502899cac3d169426 (patch) | |
tree | 438e5ecc0c0b04bd6aad863387fe9513da2e0a2b /buildset | |
parent | 43742834c2825f45306c29631074f4d44b93e9cf (diff) |
build: Separate the kernel and user land include paths
- Provide support for separate user and kernel include paths in
libbsd.py.
- Update all added files with a suitable context to build them
with. Supported contexts are `kernel` and `user`.
- Kernel source use the kernel, CPU, and build header paths in
this order.
- User source use the user, kernel, CPU and build header paths
in this order. The FreeBSD /usr/include tree has some kernel
header files installed as well as user land header files. This
complicates the separation as some kernel header files are not
visible to user land code while other are. This is handled by
appending the kernel header paths to the user header paths so
user land code will include a user header with the same name as
a kernel header over the kernel header but will find a kernel
header if there is no matching user header file.
Closes #4067
Diffstat (limited to 'buildset')
-rw-r--r-- | buildset/default.ini | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/buildset/default.ini b/buildset/default.ini index 741357fb..472c535d 100644 --- a/buildset/default.ini +++ b/buildset/default.ini @@ -53,11 +53,13 @@ net80211 = off netinet = on netinet6 = on netipsec = off +nfsv2 = on nvme = on opencrypto = on pci = on pf = on regulator = on +rpc_user = on rtems = on tests = on tty = on |