mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-15 08:20:59 +02:00
move build/command/options to include/option.sh
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
. "include/err.sh"
|
||||
. "include/defconfig.sh"
|
||||
. "include/blobutil.sh"
|
||||
. "include/option.sh"
|
||||
|
||||
release_archive="n"
|
||||
|
||||
@@ -16,7 +17,7 @@ main()
|
||||
|
||||
[ $# -lt 1 ] && err "No options specified."
|
||||
[ "${1}" = "listboards" ] && \
|
||||
./build command options config/coreboot && exit 0
|
||||
listitems config/coreboot && exit 0
|
||||
|
||||
archive="${1}"
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@ set -u -e
|
||||
|
||||
. "include/err.sh"
|
||||
. "include/git.sh"
|
||||
. "include/option.sh"
|
||||
|
||||
_target=""
|
||||
tree=""
|
||||
@@ -29,7 +30,7 @@ main()
|
||||
[ -d "${cfgsdir}" ] || err "unsupported project name"
|
||||
shift 1
|
||||
|
||||
targets=$(./build command options "${cfgsdir}")
|
||||
targets=$(listitems "${cfgsdir}")
|
||||
[ $# -gt 0 ] && targets=$@
|
||||
[ -z "${targets}" ] && \
|
||||
err "No targets available for project: ${project}"
|
||||
|
||||
Reference in New Issue
Block a user