summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-12-30 20:39:41 (EST)
committer Francis Rowe <info@gluglug.org.uk>2014-12-30 20:39:41 (EST)
commit81e66c3172a5c960b173df719f26ebfec183e3fc (patch)
tree11e7d5f8873dc381c4485b41321cb646e8b82dc0
parent523916fe30c11af081f3937e7da29a8da3e4eebe (diff)
downloadlibreboot-81e66c3172a5c960b173df719f26ebfec183e3fc.zip
libreboot-81e66c3172a5c960b173df719f26ebfec183e3fc.tar.gz
libreboot-81e66c3172a5c960b173df719f26ebfec183e3fc.tar.bz2
build-release: include statically (cross) compiled cbfstool
-rwxr-xr-xbuild-release7
-rw-r--r--docs/git/index.html7
2 files changed, 14 insertions, 0 deletions
diff --git a/build-release b/build-release
index 15c5122..a958c01 100755
--- a/build-release
+++ b/build-release
@@ -203,6 +203,13 @@ if [ "$arch" = "x86_64" ]
mv rmodtool ../../../libreboot_bin/cbfstool/i686/
fi
+# cross-compile for ARM
+make clean
+make SHARED=0 CC='arm-linux-gnueabi-gcc -static'
+mkdir ../../../libreboot_bin/cbfstool/armv7l
+mv cbfstool ../../../libreboot_bin/cbfstool/armv7l/
+mv rmodtool ../../../libreboot_bin/cbfstool/armv7l/
+
cd ../
rm -rf cbfstool
mv cbfstool_ cbfstool
diff --git a/docs/git/index.html b/docs/git/index.html
index 53ffd1d..01f225b 100644
--- a/docs/git/index.html
+++ b/docs/git/index.html
@@ -502,6 +502,13 @@
and <b>bucts</b> will be included only as 64-bit statically linked binaries. <b>To include a statically linked flashrom and bucts for i686, you
will need to build them on a chroot, a virtual machine or a real 32-bit system. You can find the build dependencies for these packages listed in deps-*</b>
</p>
+
+ <p>
+ armv7l binaries (tested on a BeagleBone Black) are also included in libreboot_bin, for:
+ </p>
+ <ul>
+ <li>cbfstool</li>
+ </ul>
<p>
If you are building 32-bit binaries on a live system or chroot (for flashrom/bucts), you can use the following to statically link them:<br/>