Changeset cac72a2 in rtems-source-builder


Ignore:
Timestamp:
Aug 1, 2016, 6:43:29 PM (4 years ago)
Author:
Gedare Bloom <gedare@…>
Branches:
4.10, 4.9, master
Children:
3266ec3, 3ad1e56, 906e145
Parents:
1e1d5c9
git-author:
Gedare Bloom <gedare@…> (08/01/16 18:43:29)
git-committer:
Gedare Bloom <gedare@…> (08/01/16 18:44:42)
Message:

doc: add example of a local patch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/source-builder.txt

    r1e1d5c9 rcac72a2  
    827827directory called +patches+ relative to the configuration directory you are
    828828building. For example +%{\_topdir}/patches:%{\_sbdir}/patches+. Patches are
    829 declared in the configuraiton files in a similar manner to the package's source
     829declared in the configuration files in a similar manner to the package's source
    830830so please refer to the +%source+ documentation. Patches, like the source, are
    831831to be made publically available for configurations that live in the RSB package
     
    901901happy with the patch submit it to the project and a core developer will review
    902902it and add it to the RTEMS Tools git repository.
    903 
    904 File Checksums
     903For example, to test a local patch for newlib, add the following two lines to
     904the .cfg file in +rtems/config/tools/+ that is included by the bset you use:
     905-------------------------------------------------------------
     906%patch add newlib file://0001-this-is-a-newlib-patch.patch <1>
     907%hash md5 0001-this-is-a-newlib-patch.diff 77d070878112783292461bd6e7db17fb <2>
     908-------------------------------------------------------------
     909<1> The diff file prepended with +file://+ to tell RSB this is a local file.
     910<2> The output from md5sum on the diff file.
    905911
    906912Cross and Canadian Cross Building
Note: See TracChangeset for help on using the changeset viewer.