summaryrefslogtreecommitdiffstats
path: root/build-release
diff options
context:
space:
mode:
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