summaryrefslogtreecommitdiffstats
path: root/build-release
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-12-28 12:33:50 (EST)
committer Francis Rowe <info@gluglug.org.uk>2014-12-28 12:33:50 (EST)
commit4ff5a94eb974a783081ee358966b2022aaf1fb20 (patch)
tree242d67dcfcf3fb4f1f9f0f06097757ec707a7520 /build-release
parent779f26c4b48b792873438d99526ebe51c9db2565 (diff)
downloadlibreboot-4ff5a94eb974a783081ee358966b2022aaf1fb20.zip
libreboot-4ff5a94eb974a783081ee358966b2022aaf1fb20.tar.gz
libreboot-4ff5a94eb974a783081ee358966b2022aaf1fb20.tar.bz2
ich9deblob: added ich9gen utility
This can generate the descriptor+gbe images from scratch, without the need for a factory.bin dump.
Diffstat (limited to 'build-release')
-rwxr-xr-xbuild-release7
1 files changed, 7 insertions, 0 deletions
diff --git a/build-release b/build-release
index 67fc1d8..5fb0288 100755
--- a/build-release
+++ b/build-release
@@ -240,16 +240,19 @@ if [ $(uname -i) = "i686" ] || [ $(uname -m) = "i686" ]
# User is building on 32-bit host. Build only 32-bit binaries
mkdir ../../../libreboot_bin/ich9deblob/i686
mv ich9deblob ../../../libreboot_bin/ich9deblob/i686/
+ mv ich9gen ../../../libreboot_bin/ich9deblob/i686/
elif [ $(uname -i) = "x86_64" ] || $(uname -m) = "x86_64"
then
# Build the 64-bit binaries
mkdir ../../../libreboot_bin/ich9deblob/x86_64
mv ich9deblob ../../../libreboot_bin/ich9deblob/x86_64/
+ mv ich9gen ../../../libreboot_bin/ich9deblob/x86_64/
# Now build 32-bit binaries
make clean
make SHARED=0 CC='gcc -static -m32'
mkdir ../../../libreboot_bin/ich9deblob/i686
mv ich9deblob ../../../libreboot_bin/ich9deblob/i686/
+ mv ich9gen ../../../libreboot_bin/ich9deblob/i686/
fi
cd ../
rm -rf ich9deblob
@@ -377,6 +380,10 @@ rm -f libreboot_src/DEBLOB
rm -f libreboot_src/resources/utilities/ich9deblob/deblobbed_descriptor.bin
rm -f libreboot_src/resources/utilities/ich9deblob/factory.rom
rm -f libreboot_src/resources/utilities/ich9deblob/libreboot.rom
+rm -f libreboot_src/resources/utilities/ich9deblob/mkdescriptor.c
+rm -f libreboot_src/resources/utilities/ich9deblob/mkdescriptor.h
+rm -f libreboot_src/resources/utilities/ich9deblob/mkgbe.c
+rm -f libreboot_src/resources/utilities/ich9deblob/mkgbe.h
echo "Creating compressed libreboot_src release archive"