Fix install arch-specific header files

This commit is contained in:
Sebastian Huber
2017-10-24 07:42:36 +02:00
parent a677fe9932
commit fb84af014c

View File

@@ -654,6 +654,7 @@ 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(' if start_dir != None:')
self.add(' bld.install_files("${PREFIX}/" + ipath,')
self.add(' start_dir.ant_glob(headers[1]),')
self.add(' cwd = start_dir,')