blob: ece7e76e862b784733cfbe03beabb95afa9d088f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
variables:
# uncomment for the pipeline debug purpose
# CI_DEBUG_TRACE: "true"
CI_IMAGE: gitlab.int.toradex.com:4567/philippe.schenker/linux-toradex/ci-kernel-builder:gcc9
DOCKER_HOST: tcp://docker:2375
DOCKER_DRIVER: overlay2
DOCKER_TLS_CERTDIR: ""
stages:
- build-imx-atf
build_imx-atf:
stage: build-imx-atf
image: $CI_IMAGE
variables:
GIT_STRATEGY: fetch
GIT_DEPTH: "1"
script: |
source /select_64bit_toolchain.sh
echo "GCC used to build binaries is"
which ${CROSS_COMPILE}gcc
${CROSS_COMPILE}gcc --version
echo -e "Arch is \e[36m$ARCH\e[39m"
echo "Current directory: ${PWD}"
echo "building with $THREADS parallel threads"
for PLATFORM in imx8mm imx8qm imx8qx; do
echo "make -j8 PLAT=$PLATFORM bl31"
make -j8 PLAT=$PLATFORM bl31
ls -l build/$PLATFORM/release/bl31.bin
done
|