Changeset 025af7c in rtems-libbsd

Timestamp:
09/02/20 23:54:27 (4 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
388d46bb1b3080402c68ae11d14b2b36c3138952
Children:
089780d
Parents:
c8c03f7
git-author:
Chris Johns <chrisj@…> (09/02/20 23:54:27)
git-committer:
Chris Johns <chrisj@…> (09/16/20 05:52:15)
Message:

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

(No files)

Note: See TracChangeset for help on using the changeset viewer.