Changeset 33d82be1 in rtems-libbsd for libbsd_waf.py


Ignore:
Timestamp:
Jun 27, 2017, 6:34:53 AM (2 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
c1e05b9ea378b2971e3d7704779112b4bc4296da, 4a77611a223ea883fb548679b516d326a020d447
Children:
9cc419f
Parents:
e846288
git-author:
Sebastian Huber <sebastian.huber@…> (06/27/17 06:34:53)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/23/17 07:24:06)
Message:

waf: Install arch-specific header files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libbsd_waf.py

    re846288 r33d82be1  
    23462346    bld.install_files("${PREFIX}/" + rtems.arch_bsp_lib_path(bld.env.RTEMS_VERSION, bld.env.RTEMS_ARCH_BSP), ["libbsd.a"])
    23472347    header_paths = [('rtemsbsd/include', '**/*.h', ''),
     2348                     ('rtemsbsd/' + bld.env.RTEMS_ARCH + '/include', '**/*.h', ''),
    23482349                     ('rtemsbsd/mghttpd', 'mongoose.h', 'mghttpd'),
    23492350                     ('freebsd/include', '**/*.h', ''),
     
    24262427        ipath = os.path.join(rtems.arch_bsp_include_path(bld.env.RTEMS_VERSION, bld.env.RTEMS_ARCH_BSP), headers[2])
    24272428        start_dir = bld.path.find_dir(headers[0])
    2428         bld.install_files("${PREFIX}/" + ipath,
    2429                           start_dir.ant_glob(headers[1]),
    2430                           cwd = start_dir,
    2431                           relative_trick = True)
     2429        if start_dir != None:
     2430            bld.install_files("${PREFIX}/" + ipath,
     2431                              start_dir.ant_glob(headers[1]),
     2432                              cwd = start_dir,
     2433                              relative_trick = True)
    24322434
    24332435    # Tests
Note: See TracChangeset for help on using the changeset viewer.