diff options
author | Francis 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) |
commit | 81e66c3172a5c960b173df719f26ebfec183e3fc (patch) | |
tree | 11e7d5f8873dc381c4485b41321cb646e8b82dc0 /build-release | |
parent | 523916fe30c11af081f3937e7da29a8da3e4eebe (diff) | |
download | libreboot-81e66c3172a5c960b173df719f26ebfec183e3fc.zip libreboot-81e66c3172a5c960b173df719f26ebfec183e3fc.tar.gz libreboot-81e66c3172a5c960b173df719f26ebfec183e3fc.tar.bz2 |
build-release: include statically (cross) compiled cbfstool
Diffstat (limited to 'build-release')
-rwxr-xr-x | build-release | 7 |
1 files changed, 7 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 |