Add stream device and extra make arguments

This commit is contained in:
2026-04-29 15:16:00 +02:00
parent 7e9ac25374
commit 5d9b4a16d4
3 changed files with 13 additions and 1 deletions
+5
View File
@@ -5,6 +5,11 @@ Meta repository with references to third party modules and tags to build them.
This is very barebones, please improve as you see fit.
This at least allows us to pin down the versions for when we need to rebuild everything
## Dependencies
``
yq
``
## How to
Create a module yaml file in the `modules` directory, the most common case we build an already tagged version from GFS.
+2 -1
View File
@@ -18,6 +18,7 @@ repo=$(yq e '.repo' $MODULEYAML)
branch=$(yq e '.branch' $MODULEYAML)
commit=$(yq e '.commit' $MODULEYAML)
makefile=$(yq e '.makefile' $MODULEYAML)
extra=$(yq e '.extraargs' $MODULEYAML)
builddir="$WORKDIR/$module"
if [ $makefile != null ]; then
@@ -42,5 +43,5 @@ else
git -C $builddir checkout $commit
fi
make -C $builddir $make_args $2 MODULE=$module ARCH_FILTER="RHEL8%"
make -C $builddir $make_args $2 MODULE=$module ARCH_FILTER="RHEL8%" $extra
+6
View File
@@ -0,0 +1,6 @@
# For now and example, just to prove that we can build from commits
module: stream
repo: git@gitea.psi.ch:epics_driver_modules/StreamDevice.git
branch: master
commit: 2.8.26
extraargs: CALC=1