summaryrefslogtreecommitdiff
path: root/resources/scripts/build/descriptors
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-04-08 03:14:48 +0100
committerLeah Rowe <leah@libreboot.org>2023-04-08 18:36:50 +0100
commiteb9d06304049ca03e4d00c81b43fb996d8424a1f (patch)
tree367193972648607d31f502a5be7b2047ae6fc5e0 /resources/scripts/build/descriptors
parent58e12063c72b7b2a7f4bb2c0c9e71b467d41d2c1 (diff)
add ich9utils back to utils
don't download it. keep it in lbmk. libreboot moved to codeberg for git hosting, and i didn't want to keep lugging around an extra git repo just for one tiny project.
Diffstat (limited to 'resources/scripts/build/descriptors')
-rwxr-xr-xresources/scripts/build/descriptors/ich9m16
1 files changed, 4 insertions, 12 deletions
diff --git a/resources/scripts/build/descriptors/ich9m b/resources/scripts/build/descriptors/ich9m
index c22812b1..9f4cce6c 100755
--- a/resources/scripts/build/descriptors/ich9m
+++ b/resources/scripts/build/descriptors/ich9m
@@ -22,22 +22,14 @@
[ "x${DEBUG+set}" = 'xset' ] && set -v
set -u -e
-if [ ! -d ich9utils ]; then
- ./download ich9utils
-fi
-if [ ! -d ich9utils ]; then
- printf "build/descriptors/ich9m: no ich9utils directory. Exiting\n"
- exit 1
-fi
-
-if [ ! -f "ich9utils/ich9gen" ]; then
+if [ ! -f "util/ich9utils/ich9gen" ]; then
(
- cd ich9utils/
+ cd util/ich9utils/
make clean
make -j$(nproc)
)
fi
-if [ ! -f "ich9utils/ich9gen" ]; then
+if [ ! -f "util/ich9utils/ich9gen" ]; then
printf "build/descriptors/ich9m: ich9gen wasn't compiled. Exiting\n"
exit 1
fi
@@ -48,5 +40,5 @@ rm -f descriptors/ich9m/*
(
cd descriptors/ich9m/
- ../../ich9utils/ich9gen
+ ../../util/ich9utils/ich9gen
)