diff options
author | Jan Sommer <jan.sommer@dlr.de> | 2020-04-17 10:24:03 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-04-17 13:15:50 +0200 |
commit | dbf72c205db0ee6a078d04c33f84531f084300e2 (patch) | |
tree | 54911076f6c409037b7672f4b464feb17b441d2a /libbsd.py | |
parent | i386: Add missing files from FreeBSD (diff) | |
download | rtems-libbsd-dbf72c205db0ee6a078d04c33f84531f084300e2.tar.bz2 |
waf: Add path-mappings feature
- path-mappings allow to fix autogenerated include paths for some corner
cases of target platforms without the need to change the build system
- Currently used for i386 based bsps
Diffstat (limited to 'libbsd.py')
-rw-r--r-- | libbsd.py | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -90,6 +90,14 @@ _defaults = { 'cpu-include-paths': ['rtemsbsd/@CPU@/include', 'freebsd/sys/@CPU@/include'], + # + # Map paths based on RTEMS naming to FreeBSD naming. + # + 'path-mappings': [ # (source, targets) + # i386 + ('freebsd/sys/i386/include', ['freebsd/sys/x86/include', 'freebsd/sys/i386/include']), + ], + # The path where headers will be copied during build. 'build-include-path': ['build-include'], |