Changeset 0a57e1d in rtems-libbsd for freebsd-to-rtems.py


Ignore:
Timestamp:
Nov 6, 2013, 8:35:05 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, c1e05b9ea378b2971e3d7704779112b4bc4296da, freebsd-9.3, 4a77611a223ea883fb548679b516d326a020d447
Children:
e637473
Parents:
c4c34f3
git-author:
Sebastian Huber <sebastian.huber@…> (11/06/13 08:35:05)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/11/13 09:08:06)
Message:

Reduce divergence from FreeBSD sources

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd-to-rtems.py

    rc4c34f3 r0a57e1d  
    192192# fix include paths inside a C or .h file
    193193def fixLocalIncludes(data):
    194         data = re.sub('#include "([^"]*)"', '#include <rtems/bsd/local/\\1>', data)
     194        data = re.sub('#include "opt_([^"]*)"', '#include <rtems/bsd/local/opt_\\1>', data)
     195        data = re.sub('#include "([^"]*)_if.h"', '#include <rtems/bsd/local/\\1_if.h>', data)
     196        data = re.sub('#include "miidevs([^"]*)"', '#include <rtems/bsd/local/miidevs\\1>', data)
     197        data = re.sub('#include "usbdevs([^"]*)"', '#include <rtems/bsd/local/usbdevs\\1>', data)
    195198        return data
    196199
     
    771774                'sys/sys/ucred.h',
    772775                'sys/sys/un.h',
     776                'sys/sys/unpcb.h',
    773777                'sys/sys/vmmeter.h',
    774778                'sys/vm/uma_dbg.h',
     
    911915                'sys/dev/usb/controller/ehci.h',
    912916                'sys/dev/usb/controller/ehcireg.h',
     917                'sys/dev/usb/controller/uhcireg.h',
    913918        ]
    914919)
Note: See TracChangeset for help on using the changeset viewer.