summaryrefslogtreecommitdiffstats
path: root/build-release
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-12-30 20:46:32 (EST)
committer Francis Rowe <info@gluglug.org.uk>2014-12-30 20:57:40 (EST)
commitdba5048adf443e95c3ff36cb5dec0f8e0bbe86e7 (patch)
tree3cf15b9a22eaef55ee44c56bc7dcfde790724136 /build-release
parent81e66c3172a5c960b173df719f26ebfec183e3fc (diff)
downloadlibreboot-dba5048adf443e95c3ff36cb5dec0f8e0bbe86e7.zip
libreboot-dba5048adf443e95c3ff36cb5dec0f8e0bbe86e7.tar.gz
libreboot-dba5048adf443e95c3ff36cb5dec0f8e0bbe86e7.tar.bz2
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 a958c01..edc2243 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