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 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