Difference between revisions of "West manifest files"
Jump to navigation
Jump to search
(minor formatting.) |
m (Add note about west manifest name-allowlist key) |
||
| Line 7: | Line 7: | ||
* https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.2.1/zephyr/guides/west/manifest.html | * https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.2.1/zephyr/guides/west/manifest.html | ||
| + | To limit the modules which a west orchestrated project pulls in, under a manifest 'projects' section add a name-allowlist key to each project where this can limit downloads to local work dependencies: | ||
| − | + | projects: | |
| + | - name: <project_name> | ||
| + | ... | ||
| + | import: | ||
| + | name-allowlist: | ||
| + | - <module_name> | ||
| + | - <module_name> | ||
| + | - <module_name> | ||
| + | - name: <project_name> | ||
| + | ... | ||
| + | self: | ||
<!-- comment --> | <!-- comment --> | ||
Latest revision as of 15:05, 6 December 2025
Zephyr RTOS building blocks :: Device Tree Source :: Kconfig :: cmake :: `west` manifest files
To limit the modules which a west orchestrated project pulls in, under a manifest 'projects' section add a name-allowlist key to each project where this can limit downloads to local work dependencies:
projects:
- name: <project_name>
...
import:
name-allowlist:
- <module_name>
- <module_name>
- <module_name>
- name: <project_name>
...
self: