summaryrefslogtreecommitdiffstats
path: root/README.waf
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-04-23 17:37:27 +1000
committerChris Johns <chrisj@rtems.org>2016-04-23 17:37:27 +1000
commite1e10cddee4be72c2a66218c2bc0393e578a7fdc (patch)
treebe28236f336ed07b491020c3ebf3cd0ed08e9373 /README.waf
parentwaf: Move the generated content to libbsd_waf.py. (diff)
downloadrtems-libbsd-e1e10cddee4be72c2a66218c2bc0393e578a7fdc.tar.bz2
waf: Add the ability to set FreeBSD options on the configure command line.
Add --freebsd-options to add specific FreeBSD compile time options to the build. This is a developer tool.
Diffstat (limited to '')
-rw-r--r--README.waf20
1 files changed, 19 insertions, 1 deletions
diff --git a/README.waf b/README.waf
index 1e806b52..39f078b8 100644
--- a/README.waf
+++ b/README.waf
@@ -106,7 +106,6 @@ Steps
one time with different tool sets or configurations you can easly move
between them safe in the knowledge that one build will not infect another.
-
Updating RTEMS Waf Support
~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -136,3 +135,22 @@ versions:
$ git pull
$ cd ..
$ git commit -m "Update rtems_waf" rtems_waf
+
+FreeBSD Developer Support
+~~~~~~~~~~~~~~~~~~~~~~~~~
+
+The --freebsd-option provides a tool you can set special kernel options. This
+is a developer tool and should only be used if you are familiar with the
+internals of the FreeBSD kernel and what these options do.
+
+The options are listed in:
+
+ https://github.com/freebsd/freebsd/blob/master/sys/conf/NOTES
+
+An example to turn on a verbose kernel boot, verbose sysinit and bus debugging
+configure with:
+
+ --freebsd-options=bootverbose,verbose_sysinit,bus_debug
+
+The LibBSD waf support splits the options and converts them to uppercase and
+adds them -D options on the compiler command line.