[rtems-libbsd commit] Fix install arch-specific header files
Sebastian Huber
sebh at rtems.org
Tue Oct 24 05:42:58 UTC 2017
Module: rtems-libbsd
Branch: master
Commit: fb84af014cb4495cd0473232d0f728cc9f040962
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=fb84af014cb4495cd0473232d0f728cc9f040962
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Oct 24 07:42:36 2017 +0200
Fix install arch-specific header files
---
waf_generator.py | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/waf_generator.py b/waf_generator.py
index 481b4fe..73b02a8 100755
--- a/waf_generator.py
+++ b/waf_generator.py
@@ -654,10 +654,11 @@ class ModuleManager(builder.ModuleManager):
self.add(' for headers in header_paths:')
self.add(' ipath = os.path.join(rtems.arch_bsp_include_path(bld.env.RTEMS_VERSION, bld.env.RTEMS_ARCH_BSP), headers[2])')
self.add(' start_dir = bld.path.find_dir(headers[0])')
- self.add(' bld.install_files("${PREFIX}/" + ipath,')
- self.add(' start_dir.ant_glob(headers[1]),')
- self.add(' cwd = start_dir,')
- self.add(' relative_trick = True)')
+ self.add(' if start_dir != None:')
+ self.add(' bld.install_files("${PREFIX}/" + ipath,')
+ self.add(' start_dir.ant_glob(headers[1]),')
+ self.add(' cwd = start_dir,')
+ self.add(' relative_trick = True)')
self.add('')
self.add(' # Tests')
More information about the vc
mailing list