Changeset 28bfb6b in rtems-libbsd for waf_generator.py


Ignore:
Timestamp:
Sep 29, 2015, 8:43:33 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
c1e05b9ea378b2971e3d7704779112b4bc4296da, freebsd-9.3, 4a77611a223ea883fb548679b516d326a020d447
Children:
4cf8982
Parents:
af3944c
Message:

waf: Add x86 include paths for i386 arch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waf_generator.py

    raf3944c r28bfb6b  
    325325        self.add('    for i in %r:' % (builder.cpu_includes()))
    326326        self.add('        includes += ["%s" % (i[2:].replace("@CPU@", bld.get_env()["RTEMS_ARCH"]))]')
     327        self.add('    if bld.get_env()["RTEMS_ARCH"] == "i386":')
     328        self.add('        for i in %r:' % (builder.cpu_includes()))
     329        self.add('            includes += ["%s" % (i[2:].replace("@CPU@", "x86"))]')
    327330        for i in builder.includes():
    328331            self.add('    includes += ["%s"]' % (i[2:]))
Note: See TracChangeset for help on using the changeset viewer.