forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
west.yml: allow users to easily add more modules
Import any manifest files in a new 'submanifests' directory into west.yml. This lets users define custom zephyr modules or easily override built-in modules by dropping their own manifest files into submanifests/some-user-file.yaml. Provide an example and a README with links to the relevant documentation in 'submanifests' to get users started. Signed-off-by: Martí Bolívar <[email protected]>
- Loading branch information
1 parent
e836668
commit 51f8588
Showing
4 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
This directory can contain additional west manifest files. Any files | ||
in this directory will be included in the main west.yml file sorted by | ||
filename. | ||
|
||
See example.yaml.sample for an example. | ||
|
||
For more details about how this works, see this part of the west | ||
documentation: | ||
|
||
https://docs.zephyrproject.org/latest/guides/west/manifest.html#example-2-2-downstream-with-directory-of-manifest-files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Example manifest file you can include into the main west.yml file. | ||
# | ||
# To make this work, copy this file's contents to a new file, | ||
# 'example.yaml', in the same directory. | ||
# | ||
# Then change the 'name' and 'url' below and run 'west update'. | ||
# | ||
# Your module will be added to the local workspace and kept in sync | ||
# every time you run 'west update'. | ||
# | ||
# If you want to fetch a particular commit rather than the main | ||
# branch, change the 'revision' line accordingly. | ||
|
||
manifest: | ||
projects: | ||
- name: my-module | ||
url: https://github.com/my-username/my-module | ||
revision: main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -219,3 +219,4 @@ manifest: | |
self: | ||
path: zephyr | ||
west-commands: scripts/west-commands.yml | ||
import: submanifests |