Update rtems_waf module

This commit is contained in:
Sebastian Huber
2015-11-13 10:58:45 +01:00
parent e18bac8a55
commit 5aa22c60af
3 changed files with 5 additions and 5 deletions

View File

@@ -1127,7 +1127,7 @@ def build(bld):
use = libbsd_use)
# Installs.
bld.install_files("${PREFIX}/" + rtems.arch_bsp_lib_path(bld.env.RTEMS_ARCH_BSP), ["libbsd.a"])
bld.install_files("${PREFIX}/" + rtems.arch_bsp_lib_path(bld.env.RTEMS_VERSION, bld.env.RTEMS_ARCH_BSP), ["libbsd.a"])
header_paths = [('rtemsbsd/include', '*.h', ''),
('rtemsbsd/mghttpd', 'mongoose.h', 'mghttpd'),
('freebsd/include', '*.h', ''),
@@ -1148,7 +1148,7 @@ def build(bld):
('mDNSResponder/mDNSShared', 'dns_sd.h', ''),
('mDNSResponder/mDNSPosix', 'mDNSPosix.h', '')]
for headers in header_paths:
ipath = os.path.join(rtems.arch_bsp_include_path(bld.env.RTEMS_ARCH_BSP), headers[2])
ipath = os.path.join(rtems.arch_bsp_include_path(bld.env.RTEMS_VERSION, bld.env.RTEMS_ARCH_BSP), headers[2])
start_dir = bld.path.find_dir(headers[0])
bld.install_files("${PREFIX}/" + ipath,
start_dir.ant_glob("**/" + headers[1]),