mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-13 14:59:34 +02:00
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.
This commit is contained in:
@@ -27,13 +27,9 @@ set -u -e
|
||||
# clean ich9deblob utility
|
||||
# --------------------------------------------------------------------
|
||||
|
||||
if [ ! -d ich9utils ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
printf "Cleaning the previous build of ich9utils\n"
|
||||
(
|
||||
cd "ich9utils/"
|
||||
cd "util/ich9utils/"
|
||||
make clean
|
||||
)
|
||||
rm -Rf descriptors/
|
||||
|
||||
@@ -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
|
||||
)
|
||||
|
||||
@@ -24,17 +24,9 @@
|
||||
[ "x${DEBUG+set}" = 'xset' ] && set -v
|
||||
set -u -e
|
||||
|
||||
if [ ! -d ich9utils ]; then
|
||||
./download ich9utils
|
||||
fi
|
||||
if [ ! -d ich9utils ]; then
|
||||
printf "build/module/ich9utils: ich9utils not found. Exiting\n"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
printf "Build ich9utils\n"
|
||||
(
|
||||
cd "ich9utils/"
|
||||
cd "util/ich9utils/"
|
||||
make -j$(nproc)
|
||||
)
|
||||
printf "\n\n"
|
||||
|
||||
@@ -53,7 +53,7 @@ mkdir -p "${srcdir}/"
|
||||
|
||||
printf "%s" "${version}" > "${srcdir}"/version
|
||||
|
||||
modlist="coreboot flashrom grub memtest86plus seabios ich9utils me_cleaner u-boot"
|
||||
modlist="coreboot flashrom grub memtest86plus seabios me_cleaner u-boot"
|
||||
dirlist="resources util" # do not add blobs directory here. it is handled below
|
||||
filelist="blobutil modify download build README.md COPYING Makefile update version versiondate projectname .gitcheck"
|
||||
|
||||
@@ -104,6 +104,7 @@ done
|
||||
cd "${srcdir}/"
|
||||
./build clean all
|
||||
make clean -BC util/nvmutil
|
||||
make clean -BC util/ich9utils
|
||||
|
||||
rm -Rf coreboot/coreboot/
|
||||
rm -Rf .git .gitignore */.git* coreboot/*/.git* coreboot/*/3rdparty/*/.git*
|
||||
|
||||
Reference in New Issue
Block a user