From c38f93b0c6da8c1da59e611502899cac3d169426 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Thu, 3 Sep 2020 09:54:27 +1000 Subject: 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 --- buildset/default.ini | 2 ++ 1 file changed, 2 insertions(+) (limited to 'buildset') 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 -- cgit v1.2.3