summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-07 00:47:06 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-07 00:47:06 +0100
commitbff756281976ea32284561885e0b8ac5e77de085 (patch)
tree0028dd23b155519b63cd54e9b1e81c10e7f75cf6
parentd9b9f6db75adec714266e754e962e50742ee4d0e (diff)
libopencm3 to config/submodules/ on stm32-vserprog
same as the previous patch, we must no longer use "define" variables in config/git/ when the path is a subdirectory of a given project, because it means that the download can only happen after the main one, and currently if that fails, the download of the main repo would remain intact, breaking future builds in ways that we can't control - to be clear, it could be controlled, but with added code complexity in the build system, so: put it in config/submodules/ Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r--config/git/stm32-vserprog8
-rw-r--r--config/submodule/stm32-vserprog/libopencm3/module.cfg3
-rw-r--r--config/submodule/stm32-vserprog/module.list1
3 files changed, 4 insertions, 8 deletions
diff --git a/config/git/stm32-vserprog b/config/git/stm32-vserprog
index 3fc3b869..37e901fc 100644
--- a/config/git/stm32-vserprog
+++ b/config/git/stm32-vserprog
@@ -3,12 +3,4 @@
loc: stm32-vserprog
url: https://codeberg.org/libreboot/stm32-vserprog
bkup_url: https://git.disroot.org/libreboot/stm32-vserprog
- depend: libopencm3
-}
-
-{libopencm3}{
- rev: 458250dc6147dc807eec9e4d5a6caf38a699ecb1
- loc: stm32-vserprog/libopencm3
- url: https://codeberg.org/libreboot/libopencm3
- bkup_url: https://github.com/libopencm3/libopencm3
}
diff --git a/config/submodule/stm32-vserprog/libopencm3/module.cfg b/config/submodule/stm32-vserprog/libopencm3/module.cfg
new file mode 100644
index 00000000..b8c46854
--- /dev/null
+++ b/config/submodule/stm32-vserprog/libopencm3/module.cfg
@@ -0,0 +1,3 @@
+subrev="458250dc6147dc807eec9e4d5a6caf38a699ecb1"
+subrepo="https://codeberg.org/libreboot/libopencm3"
+subrepo_bkup="https://github.com/libopencm3/libopencm3"
diff --git a/config/submodule/stm32-vserprog/module.list b/config/submodule/stm32-vserprog/module.list
new file mode 100644
index 00000000..f14cc1fa
--- /dev/null
+++ b/config/submodule/stm32-vserprog/module.list
@@ -0,0 +1 @@
+libopencm3