mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-18 16:39:34 +08:00
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
This commit is contained in:

committed by
Sebastian Huber

parent
ce5b52d575
commit
dbf72c205d
@@ -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'],
|
||||
|
||||
|
Reference in New Issue
Block a user