summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-rwxr-xr-xscript/roms4
-rwxr-xr-xscript/trees2
2 files changed, 3 insertions, 3 deletions
diff --git a/script/roms b/script/roms
index 88ab8cd1..3890eddc 100755
--- a/script/roms
+++ b/script/roms
@@ -36,7 +36,7 @@ main()
elif [ "$1" = "serprog" ]; then
shift 1; handle_serprog $@; return 0
elif [ "$1" = "list" ]; then
- x_ items config/coreboot; return 0
+ x_ ls -1 config/coreboot; return 0
else
[ "$1" = "all" ] && shift && continue
boards="$1 $boards"
@@ -44,7 +44,7 @@ main()
fi
done
- [ -n "$boards" ] || boards="$(items config/coreboot)" || \
+ [ -n "$boards" ] || boards="$(ls -1 config/coreboot)" || \
$err "Cannot generate list of boards for building"
for x in $boards; do
[ -d "config/coreboot/$x/config" ] && \
diff --git a/script/trees b/script/trees
index 4d9a5d08..f090f539 100755
--- a/script/trees
+++ b/script/trees
@@ -87,7 +87,7 @@ build_targets()
# Build for all targets if no argument is given
[ $# -gt 0 ] && target1="$1"
[ "$target1" = "utils" ] && [ "$project" = "coreboot" ] && shift 1
- targets="$(items "$cfgsdir")" || $err "Can't get options for $cfgsdir"
+ targets="$(ls -1 "$cfgsdir")" || $err "Can't get options for $cfgsdir"
[ $# -gt 0 ] && targets=$@
handle_targets