summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/build/module
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-11-05 22:08:47 (EST)
committer Francis Rowe <info@gluglug.org.uk>2015-11-05 22:11:46 (EST)
commit8241c45f0d6762729a9f02e41ca04784d210e259 (patch)
treefe7c6a63b59702c8ad2f67adc137e3e95b51f990 /resources/scripts/helpers/build/module
parent56878e05bf9e889f28c93f71934bdede2aecc4de (diff)
downloadlibreboot-8241c45f0d6762729a9f02e41ca04784d210e259.zip
libreboot-8241c45f0d6762729a9f02e41ca04784d210e259.tar.gz
libreboot-8241c45f0d6762729a9f02e41ca04784d210e259.tar.bz2
build/module/coreboot: also build crossgcc arm
Diffstat (limited to 'resources/scripts/helpers/build/module')
-rwxr-xr-xresources/scripts/helpers/build/module/coreboot6
1 files changed, 4 insertions, 2 deletions
diff --git a/resources/scripts/helpers/build/module/coreboot b/resources/scripts/helpers/build/module/coreboot
index cfca253..b33f1e3 100755
--- a/resources/scripts/helpers/build/module/coreboot
+++ b/resources/scripts/helpers/build/module/coreboot
@@ -31,8 +31,10 @@ set -u -e
printf "Building the utilities in coreboot\n"
# crossgcc
-# coreboot is 32-bit, so only build for i386
-make -j$(nproc) -BC coreboot crossgcc-i386
+# coreboot on x86 is 32-bit, so only build for i386. Also build for ARM
+for architecture in i386 arm; do
+ make -j$(nproc) -BC coreboot crossgcc-${architecture}
+done
# cbfstool, ifdtool, cbmem, nvramtool
for util in {cbfs,ifd,nvram}tool cbmem; do