mirror of
https://codeberg.org/canoeboot/cbmk.git
synced 2024-11-24 19:24:44 +00:00
dec9ae9b43
replace it with logic that simply uses "." to load files directly. config/git files are now directories, also containing pkg.cfg files each with the same variables as before, such as repository link and commit hash this change results in a noticeable reduction in code complexity within the build system. unified reading of config files: new function setcfg() added to lib.sh setcfg checks if a config exists. if a 2nd argument is passed, it is used as a return value for eval, otherwise a string calling err is passed. setcfg output is passed through eval, to set strings based on config; eval must be used, so that the variables are set within the same scope, otherwise they'd be set within setcfg which could lead to some whacky results. there's still a bit more more to do, but this single change results in a substantial reduction in code complexity. Signed-off-by: Leah Rowe <leah@libreboot.org>
3 lines
159 B
INI
3 lines
159 B
INI
rev="8fcf0a4d41800631b571fa7bbd1d8b251f0a2111"
|
|
url="https://codeberg.org/libreboot/stm32-vserprog"
|
|
bkup_url="https://git.disroot.org/libreboot/stm32-vserprog"
|