aboutsummaryrefslogtreecommitdiff
path: root/build-release
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-12-31 01:46:32 +0000
committerFrancis Rowe <info@gluglug.org.uk>2014-12-31 01:57:40 +0000
commitdba5048adf443e95c3ff36cb5dec0f8e0bbe86e7 (patch)
tree3cf15b9a22eaef55ee44c56bc7dcfde790724136 /build-release
parent81e66c3172a5c960b173df719f26ebfec183e3fc (diff)
downloadlibrebootfr-dba5048adf443e95c3ff36cb5dec0f8e0bbe86e7.tar.gz
librebootfr-dba5048adf443e95c3ff36cb5dec0f8e0bbe86e7.zip
build-release: include static binaries for ich9gen and ich9deblob
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 a958c015..edc2243c 100755
--- a/build-release
+++ b/build-release
@@ -240,6 +240,13 @@ if [ "$arch" = "x86_64" ]
mv ich9gen ../../../libreboot_bin/ich9deblob/i686/
fi
+# cross-compile for ARM
+make clean
+make SHARED=0 CC='arm-linux-gnueabi-gcc -static'
+mkdir ../../../libreboot_bin/ich9deblob/armv7l
+mv ich9deblob ../../../libreboot_bin/ich9deblob/armv7l/
+mv ich9gen ../../../libreboot_bin/ich9deblob/armv7l/
+
cd ../
rm -rf ich9deblob
mv ich9deblob_ ich9deblob