summaryrefslogtreecommitdiff
path: root/script/handle
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-09-27 21:46:20 +0100
committerLeah Rowe <leah@libreboot.org>2023-09-27 22:31:24 +0100
commit74c48a881df378a83e261c2785012609d81d801e (patch)
tree52dcd41154762a823bf1d5d06c7a788536aea874 /script/handle
parenta00b43375a7d4a33b6569c0b6ccb9e9291877bb5 (diff)
move build/command/options to include/option.sh
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/handle')
-rwxr-xr-xscript/handle/make/config3
1 files changed, 2 insertions, 1 deletions
diff --git a/script/handle/make/config b/script/handle/make/config
index 59b44998..be6f1538 100755
--- a/script/handle/make/config
+++ b/script/handle/make/config
@@ -8,6 +8,7 @@
set -u -e
. "include/err.sh"
+. "include/option.sh"
read projectname < projectname
read our_version < version
@@ -66,7 +67,7 @@ handle_dependencies()
[ -f "${listfile}" ] || fail "list file, ${listfile}, does not exist"
# Build for all targets if no argument is given
- targets=$(./build command options "${cfgsdir}") || \
+ targets=$(listitems "${cfgsdir}") || \
fail "Cannot get options for ${cfgsdir}"
[ $# -gt 0 ] && targets=$@