Changeset 88205a5 in rtems-libbsd


Ignore:
Timestamp:
Jul 31, 2015, 9:55:18 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
a8f29d695e152575479ad1a97fa354f661bebd4d, freebsd-9.3, d892051f37c2c4ad7f345f6a817ea3d38e56a431
Children:
3fc15fd
Parents:
a3ef8e6
git-author:
Sebastian Huber <sebastian.huber@…> (07/31/15 09:55:18)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/31/15 09:55:47)
Message:

waf_generator.py: Move arch header includes

Make sure that architecture specific header files are found first.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • waf_generator.py

    ra3ef8e6 r88205a5  
    323323        self.add('    # Include paths')
    324324        self.add('    includes = ["."]')
     325        self.add('    for i in %r:' % (builder.cpu_includes()))
     326        self.add('        includes += ["%s" % (i[2:].replace("@CPU@", bld.get_env()["RTEMS_ARCH"]))]')
    325327        for i in builder.includes():
    326328            self.add('    includes += ["%s"]' % (i[2:]))
    327         self.add('    for i in %r:' % (builder.cpu_includes()))
    328         self.add('        includes += ["%s" % (i[2:].replace("@CPU@", bld.get_env()["RTEMS_ARCH"]))]')
    329329        self.add('')
    330330        self.add('    # Support dummy PIC IRQ includes')
  • wscript

    ra3ef8e6 r88205a5  
    7474    # Include paths
    7575    includes = ["."]
     76    for i in ['-Irtemsbsd/@CPU@/include', '-Ifreebsd/sys/@CPU@/include']:
     77        includes += ["%s" % (i[2:].replace("@CPU@", bld.get_env()["RTEMS_ARCH"]))]
    7678    includes += ["rtemsbsd/include"]
    7779    includes += ["freebsd/sys"]
     
    9294    includes += ["mDNSResponder/mDNSPosix"]
    9395    includes += ["testsuite/include"]
    94     for i in ['-Irtemsbsd/@CPU@/include', '-Ifreebsd/sys/@CPU@/include']:
    95         includes += ["%s" % (i[2:].replace("@CPU@", bld.get_env()["RTEMS_ARCH"]))]
    9696
    9797    # Support dummy PIC IRQ includes
Note: See TracChangeset for help on using the changeset viewer.