Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RIOT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cm-projects
RIOT
Commits
78bc777c
Unverified
Commit
78bc777c
authored
6 years ago
by
Koen Zandberg
Browse files
Options
Downloads
Patches
Plain Diff
pkg: update patch documentation
parent
b518f3c7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pkg/doc.txt
+5
-4
5 additions, 4 deletions
pkg/doc.txt
with
5 additions
and
4 deletions
pkg/doc.txt
+
5
−
4
View file @
78bc777c
...
@@ -21,15 +21,16 @@
...
@@ -21,15 +21,16 @@
* This module provides porting information for libraries and applications to use
* This module provides porting information for libraries and applications to use
* with RIOT (to build an external module). If you'd like to add a package to RIOT
* with RIOT (to build an external module). If you'd like to add a package to RIOT
* you need to add a directory with the name of your package to this directory.
* you need to add a directory with the name of your package to this directory.
* This directory should contain at least
two
file
s
:
* This directory should contain at least
one
file:
*
*
* * **Zero or more patch files**: Your patches of the upstream application of
* the package to make it build with RIOT.
* * **Makefile**: A Makefile describing how to get the upstream application,
* * **Makefile**: A Makefile describing how to get the upstream application,
* apply the patch and how to build the package as a RIOT module.
* apply the patch and how to build the package as a RIOT module.
* A rough template for several methods of acquiring a package is provided in
* A rough template for several methods of acquiring a package is provided in
* `pkg/Makefile.git`, `pkg/Makefile.http`, and `pkg/Makefile.svn`
* `pkg/Makefile.git`, `pkg/Makefile.http`, and `pkg/Makefile.svn`
*
*
* Patch files can be included in a `patches` directory in the package dir.
* These are applied to the upstream package to make it build with RIOT.
*
* Creating a patch with git
* Creating a patch with git
* -------------------------
* -------------------------
* Assuming your upstream library resides in a git repository, you can create the
* Assuming your upstream library resides in a git repository, you can create the
...
@@ -39,6 +40,6 @@
...
@@ -39,6 +40,6 @@
* * conduct necessary changes (e.g. edit, add, or remove some files)
* * conduct necessary changes (e.g. edit, add, or remove some files)
* * commit your changes using `git commit`
* * commit your changes using `git commit`
* * create the patch files using `git format-patch -n riot-port`
* * create the patch files using `git format-patch -n riot-port`
* * move the resulting patch files to the
corresponding subfolder of pkg
* * move the resulting patch files to the
patches directory of your package.
* @}
* @}
*/
*/
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment