summaryrefslogtreecommitdiffstats
path: root/build-release
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-12-26 16:36:16 (EST)
committer Francis Rowe <info@gluglug.org.uk>2014-12-26 16:36:16 (EST)
commit1de5a9e8cd48b8fe920c4d1eba343a55f12332df (patch)
tree6a446e3092003002688b0085a6e68fa0dbcf50ed /build-release
parentbc149e7d986f4c11aa85df8d8499dc367b34a855 (diff)
downloadlibreboot-1de5a9e8cd48b8fe920c4d1eba343a55f12332df.zip
libreboot-1de5a9e8cd48b8fe920c4d1eba343a55f12332df.tar.gz
libreboot-1de5a9e8cd48b8fe920c4d1eba343a55f12332df.tar.bz2
build-release, builddeps-ich9deblob, cleandeps: fix ich9deblob
Diffstat (limited to 'build-release')
-rwxr-xr-xbuild-release7
1 files changed, 4 insertions, 3 deletions
diff --git a/build-release b/build-release
index 7e529b9..67fc1d8 100755
--- a/build-release
+++ b/build-release
@@ -232,8 +232,8 @@ cd ../../
cd resources/utilities/
cp -r ich9deblob ich9deblob_
cd ich9deblob/
-rm -f ich9deblob
-gcc -static -o ich9deblob ich9deblob.c ich9desc.c -I.
+make clean
+make SHARED=0 CC='gcc -static'
mkdir ../../../libreboot_bin/ich9deblob
if [ $(uname -i) = "i686" ] || [ $(uname -m) = "i686" ]
then
@@ -246,7 +246,8 @@ elif [ $(uname -i) = "x86_64" ] || $(uname -m) = "x86_64"
mkdir ../../../libreboot_bin/ich9deblob/x86_64
mv ich9deblob ../../../libreboot_bin/ich9deblob/x86_64/
# Now build 32-bit binaries
- gcc -static -m32 -o ich9deblob ich9deblob.c ich9desc.c -I.
+ make clean
+ make SHARED=0 CC='gcc -static -m32'
mkdir ../../../libreboot_bin/ich9deblob/i686
mv ich9deblob ../../../libreboot_bin/ich9deblob/i686/
fi