From f30f08a3ce75ae7d7384a7608b7e3dcef804661a Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Tue, 15 Aug 2023 13:04:54 +0000 Subject: [PATCH] manifest: move optional modules to a submanifest and make them optional Move optional modules to a submanifest and make them optional by default. This is just a POC, might require some more thought. The idea is to look at the optional manifest as an area for modules that work with Zephyr, but not needed directly by zephyr. This could be documented somewhere for discovery purposes allowing users to enable such modules in their downstream if desired. See #54276 Signed-off-by: Anas Nashif --- submanifests/optional.yaml | 60 ++++++++++++++++++++++++++++++++++++++ west.yml | 33 +-------------------- 2 files changed, 61 insertions(+), 32 deletions(-) create mode 100644 submanifests/optional.yaml diff --git a/submanifests/optional.yaml b/submanifests/optional.yaml new file mode 100644 index 00000000000..ef40d0201fb --- /dev/null +++ b/submanifests/optional.yaml @@ -0,0 +1,60 @@ +manifest: + remotes: + - name: upstream + url-base: https://github.com/zephyrproject-rtos + projects: + - name: chre + revision: b7955c27e50485b7dafdc3888d7d6afdc2ac6d96 + path: modules/lib/chre + remote: upstream + groups: + - optional + - name: lz4 + revision: 8e303c264fc21c2116dc612658003a22e933124d + path: modules/lib/lz4 + remote: upstream + groups: + - optional + - name: nanopb + revision: 42fa8b211e946b90b9d968523fce7b1cfe27617e + path: modules/lib/nanopb + remote: upstream + groups: + - optional + - name: psa-arch-tests + revision: 6a17330e0dfb5f319730f974d5b05f7b7f04757b + path: modules/tee/tf-m/psa-arch-tests + remote: upstream + groups: + - optional + - name: sof + revision: c0f20b69daa44e3563f970b366e49ccfcfa1b71c + path: modules/audio/sof + remote: upstream + groups: + - optional + - name: tf-m-tests + revision: a878426da78fbd1486dfc29d6c6b82be4ee79e72 + path: modules/tee/tf-m/tf-m-tests + remote: upstream + groups: + - optional + - name: tflite-micro + revision: 1a34dcab41e7e0e667db72d6a40999c1ec9c510c + path: optional/modules/lib/tflite-micro + repo-path: tflite-micro + remote: upstream + groups: + - optional + - name: thrift + path: optional/modules/lib/thrift + revision: 10023645a0e6cb7ce23fcd7fd3dbac9f18df6234 + remote: upstream + groups: + - optional + - name: zscilib + path: modules/lib/zscilib + revision: 34c3432e81085bb717e4871d21ca419ae0058ec5 + remote: upstream + groups: + - optional diff --git a/west.yml b/west.yml index fe1460492d2..b09d2a9d005 100644 --- a/west.yml +++ b/west.yml @@ -24,7 +24,7 @@ manifest: - name: babblesim url-base: https://github.com/BabbleSim - group-filter: [-babblesim] + group-filter: [-babblesim, -optional] # # Please add items below based on alphabetical order @@ -118,9 +118,6 @@ manifest: - name: canopennode revision: dec12fa3f0d790cafa8414a4c2930ea71ab72ffd path: modules/lib/canopennode - - name: chre - revision: b7955c27e50485b7dafdc3888d7d6afdc2ac6d96 - path: modules/lib/chre - name: cmsis revision: 5a00331455dd74e31e80efa383a489faea0590e3 path: modules/hal/cmsis @@ -278,9 +275,6 @@ manifest: - name: lvgl revision: 8a6a2d1d29d17d1e4bdc94c243c146a39d635fdd path: modules/lib/gui/lvgl - - name: lz4 - revision: 8e303c264fc21c2116dc612658003a22e933124d - path: modules/lib/lz4 - name: mbedtls revision: c38dc78d9a8dcbe43b898cc1171ab33ba3e6fc26 path: modules/crypto/mbedtls @@ -294,9 +288,6 @@ manifest: groups: - debug revision: a819419603a2dfcb47f7f39092e1bc112e45d1ef - - name: nanopb - revision: 42fa8b211e946b90b9d968523fce7b1cfe27617e - path: modules/lib/nanopb - name: net-tools revision: e0828aa9629b533644dc96ff6d1295c939bd713c path: tools/net-tools @@ -324,12 +315,6 @@ manifest: path: modules/debug/segger groups: - debug - - name: sof - revision: c0f20b69daa44e3563f970b366e49ccfcfa1b71c - path: modules/audio/sof - - name: tflite-micro - revision: 1a34dcab41e7e0e667db72d6a40999c1ec9c510c - path: modules/lib/tflite-micro - name: tinycrypt revision: 3e9a49d2672ec01435ffbf0d788db6d95ef28de0 path: modules/crypto/tinycrypt @@ -345,28 +330,12 @@ manifest: path: modules/tee/tf-a/trusted-firmware-a groups: - tee - - name: tf-m-tests - revision: a878426da78fbd1486dfc29d6c6b82be4ee79e72 - path: modules/tee/tf-m/tf-m-tests - groups: - - tee - - name: psa-arch-tests - revision: 6a17330e0dfb5f319730f974d5b05f7b7f04757b - path: modules/tee/tf-m/psa-arch-tests - groups: - - tee - name: uoscore-uedhoc revision: 5fe2cb613bd7e4590bd1b00c2adf181ac0229379 path: modules/lib/uoscore-uedhoc - name: zcbor revision: 67fd8bb88d3136738661fa8bb5f9989103f4599e path: modules/lib/zcbor - - name: zscilib - path: modules/lib/zscilib - revision: 34c3432e81085bb717e4871d21ca419ae0058ec5 - - name: thrift - path: modules/lib/thrift - revision: 10023645a0e6cb7ce23fcd7fd3dbac9f18df6234 self: path: zephyr