diff options
Diffstat (limited to 'resources/scripts/update')
-rwxr-xr-x | resources/scripts/update/blobs/inject | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/resources/scripts/update/blobs/inject b/resources/scripts/update/blobs/inject index 3cdf38c6..bc6b55c9 100755 --- a/resources/scripts/update/blobs/inject +++ b/resources/scripts/update/blobs/inject @@ -44,7 +44,8 @@ main() sname="${0}" [ $# -lt 1 ] && err "No options specified." - [ "${1}" = "listboards" ] && listboards && exit 0 + [ "${1}" = "listboards" ] && \ + ./build command options resources/coreboot && exit 0 archive="${1}" @@ -345,16 +346,6 @@ modify_gbe() rm -f "${_gbe_tmp}" } -listboards() -{ - for boarddir in "${cbcfgsdir}"/*; do - [ -d "${boarddir}" ] || continue - board="${boarddir##${cbcfgsdir}/}" - board="${board%/}" - printf "%s\n" "${board##*/}" - done -} - usage() { cat <<- EOF |