mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-13 14:59:34 +02:00
remove blobutil and boards/utils needing/for blobs
delete all blobs. TODO: actually deblob coreboot/uboot when downloading. i'll that in a little while, in an upcoming commit. yes. purge it all, in fsf style. censor what the fsf doesn't like. so that they can feel good about having less, because ideological purity is better than helping more people use coreboot, yes? Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -23,12 +23,11 @@ set -u -e
|
||||
|
||||
projectname="$(cat projectname)"
|
||||
|
||||
modlist="coreboot flashrom grub memtest86plus seabios me_cleaner u-boot"
|
||||
modlist="${modlist} bios_extract"
|
||||
modlist="coreboot flashrom grub memtest86plus seabios u-boot"
|
||||
|
||||
dirlist="resources util" # do not add blobs directory here. it's handled below
|
||||
dirlist="resources util"
|
||||
|
||||
filelist="lbmk blobutil modify download build README.md COPYING Makefile update"
|
||||
filelist="lbmk modify download build README.md COPYING Makefile update"
|
||||
filelist="${filelist} version versiondate projectname .gitcheck gitclone"
|
||||
|
||||
version="version-unknown"
|
||||
@@ -88,8 +87,6 @@ copy_files()
|
||||
cp -R "${dir}/" "${srcdir}/"
|
||||
done
|
||||
|
||||
copy_blobs
|
||||
|
||||
for i in ${filelist}; do
|
||||
if [ ! -f "${i}" ]; then
|
||||
rm -Rf "${srcdir}"
|
||||
@@ -99,23 +96,6 @@ copy_files()
|
||||
done
|
||||
}
|
||||
|
||||
copy_blobs()
|
||||
{
|
||||
mkdir -p "${srcdir}"/blobs
|
||||
# do not copy intel ME etc, but do copy ifd/gbe files
|
||||
for i in t440p xx20 xx30 hp8200sff hp_ivybridge hp_sandybridge \
|
||||
hp8300usdt; do
|
||||
for j in ifd gbe 16_ifd; do
|
||||
if [ -f "blobs/${i}/${j}.bin" ]; then
|
||||
if [ ! -e "${srcdir}/blobs/${i}" ]; then
|
||||
mkdir -p "${srcdir}/blobs/${i}"
|
||||
fi
|
||||
cp blobs/${i}/${j}.bin "${srcdir}/blobs/${i}"
|
||||
fi
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
purge_files()
|
||||
{
|
||||
(
|
||||
@@ -127,7 +107,6 @@ purge_files()
|
||||
cd "${i}/" || err "cd2"
|
||||
make distclean || err "make-distclean1"
|
||||
)
|
||||
make clean -BC default/util/kbc1126/ || err "make-clean1"
|
||||
done
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user