mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-14 07:19:40 +02:00
5a0a24f555
instead of running pwd all the time, run it once in lib.sh, and export PWD. for lbmk-specific use of PWD, use xbmkpwd, which contains the value of PWD as was set by the pwd utility in lib.sh. many parts of lbmk rely on pwd, and it *must* be correct. this change adds basic error handling, since pwd can in fact return errors in some cases. Signed-off-by: Leah Rowe <leah@libreboot.org>
11 lines
262 B
INI
11 lines
262 B
INI
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
. "include/rom.sh"
|
|
|
|
sersrc="src/pico-serprog"
|
|
serx="$sersrc/build/pico_serprog.uf2"
|
|
picosdk="src/pico-sdk"
|
|
serdir="$picosdk/src/boards/include/boards"
|
|
premake="mkserprog pico"
|
|
picotool="$xbmkpwd/src/picotool/xbmkbin"
|