aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts/helpers/build/module/coreboot
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-11-06 03:08:47 +0000
committerFrancis Rowe <info@gluglug.org.uk>2015-11-06 03:11:46 +0000
commit8241c45f0d6762729a9f02e41ca04784d210e259 (patch)
treefe7c6a63b59702c8ad2f67adc137e3e95b51f990 /resources/scripts/helpers/build/module/coreboot
parent56878e05bf9e889f28c93f71934bdede2aecc4de (diff)
downloadlibrebootfr-8241c45f0d6762729a9f02e41ca04784d210e259.tar.gz
librebootfr-8241c45f0d6762729a9f02e41ca04784d210e259.zip
build/module/coreboot: also build crossgcc arm
Diffstat (limited to 'resources/scripts/helpers/build/module/coreboot')
-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 cfca2538..b33f1e3f 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