From 784846da875b35f1e9360d3d11f3e6f88a1d23c9 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Wed, 2 Sep 2020 10:21:54 +0200 Subject: gitlab-ci: inital add Build bl31 for imx8mm/imx8qm/imx8qx Signed-off-by: Max Krummenacher --- .gitlab-ci.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 00000000..ece7e76e --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,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 -- cgit v1.2.3