summaryrefslogtreecommitdiff
path: root/resources/scripts/build/module/cbutils
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts/build/module/cbutils')
-rwxr-xr-xresources/scripts/build/module/cbutils6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/scripts/build/module/cbutils b/resources/scripts/build/module/cbutils
index 15d9721b..e0a8d014 100755
--- a/resources/scripts/build/module/cbutils
+++ b/resources/scripts/build/module/cbutils
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/usr/bin/env sh
# helper script: build various coreboot utilities
#
@@ -34,7 +34,7 @@ buildutils() {
printf "build/cbutils: coreboot/%s not found. Exiting\n" "${cbtree}"
return 1
fi
- for util in {cbfs,ifd}tool; do
+ for util in cbfstool ifdtool; do
(
cd "coreboot/${cbtree}/util/${util}/"
make -j$(nproc) || return 1
@@ -52,7 +52,7 @@ buildfromboardconfig() {
continue
fi
cbtree="undefined"
- source "resources/coreboot/${board}/board.cfg"
+ . "resources/coreboot/${board}/board.cfg" # source
if [ "${cbtree}" = "undefined" ]; then
printf "build/cbutils: improper cbtree definition for '%s'" "${board}"
return 1