Changeset 28c973a in rtems-libbsd for libbsd.txt


Ignore:
Timestamp:
May 6, 2016, 7:31:20 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
7ece7548c1b05cf6bb10e6708b83b2401d45c250, freebsd-9.3, 29cc431e0bcfe059d65ac3019f53eeafa5064ae8
Children:
4835d26
Parents:
0f5dd1c
git-author:
Sebastian Huber <sebastian.huber@…> (05/06/16 07:31:20)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/06/16 07:32:12)
Message:

Add "How to import code from FreeBSD"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libbsd.txt

    r0f5dd1c r28c973a  
    619619You can add more than one verbose option (-v) to the command line and get more
    620620detail and debug level information from the command.
     621
     622== How to import code from FreeBSD
     623
     624. Run `git status` and make sure your working directory is clean.
     625. Run `./freebsd-to-rtems.py -R`
     626. Run `./freebsd-to-rtems.py`
     627. Run `git status` and make sure your working directory is clean.  If you see modified files, then the `freebsd-to-rtems.py` script needs to be fixed first.
     628. Add the files to import to `libbsd.py`.
     629. Run `./freebsd-to-rtems.py`
     630. Immediately check in the imported files without the changes to `libbsd_waf.py`.  Do not touch the imported files yourself at this point.
     631. Port the imported files to RTEMS.  See 'Rules for Modifying FreeBSD Source'.
     632. Add a test to the testsuite if possible.
     633. Run `./create-kernel-namespace.sh` if you imported kernel space headers.  Add only your new defines via `git add -p rtemsbsd/include/machine/rtems-bsd-kernel-namespace.h`.
     634. Create one commit from this.
    621635
    622636== Initialization of the BSD Library
Note: See TracChangeset for help on using the changeset viewer.