Changeset 821976e in rtems-libbsd


Ignore:
Timestamp:
Apr 25, 2018, 10:50:26 AM (18 months ago)
Author:
Christian Mauderer <christian.mauderer@…>
Branches:
c1e05b9ea378b2971e3d7704779112b4bc4296da, 4a77611a223ea883fb548679b516d326a020d447
Children:
1588cf1
Parents:
634b3bf
git-author:
Christian Mauderer <christian.mauderer@…> (04/25/18 10:50:26)
git-committer:
Christian Mauderer <christian.mauderer@…> (05/03/18 05:09:46)
Message:

waf: Fix usage of build-include from config.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waf_libbsd.py

    r634b3bf r821976e  
    186186        #
    187187        includes = []
     188        buildinclude = 'build-include'
    188189        if 'cpu-include-paths' in config:
    189190            cpu = bld.get_env()['RTEMS_ARCH']
     
    195196            includes += config['include-paths']
    196197        if 'build-include-path' in config:
    197             includes += config['build-include-path']
     198            buildinclude = config['build-include-path']
     199            if not isinstance(buildinclude, basestring):
     200                buildinclude = buildinclude[0]
     201        includes += [buildinclude]
    198202
    199203        #
     
    243247            ]
    244248            for headers in header_build_copy_paths:
    245                 target = os.path.join("build-include", headers[2])
     249                target = os.path.join(buildinclude, headers[2])
    246250                start_dir = bld.path.find_dir(headers[0])
    247251                for header in start_dir.ant_glob(headers[1]):
Note: See TracChangeset for help on using the changeset viewer.