summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2020-09-03 09:54:27 +1000
committerChris Johns <chrisj@rtems.org>2020-09-16 15:49:37 +1000
commitc38f93b0c6da8c1da59e611502899cac3d169426 (patch)
tree438e5ecc0c0b04bd6aad863387fe9513da2e0a2b /wscript
parentwaf: Add a config report (diff)
downloadrtems-libbsd-c38f93b0c6da8c1da59e611502899cac3d169426.tar.bz2
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 'wscript')
-rw-r--r--wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/wscript b/wscript
index 55652ff8..99a60978 100644
--- a/wscript
+++ b/wscript
@@ -1,9 +1,9 @@
# SPDX-License-Identifier: BSD-2-Clause
-'''RTEMS LibBSD is a transparent source build of the FreeBSD kernel
+"""RTEMS LibBSD is a transparent source build of the FreeBSD kernel
source for RTEMS.
To use see README.waf shipped with this file.
-'''
+"""
# Copyright (c) 2015-2016 Chris Johns <chrisj@rtems.org>. All rights reserved.
#