summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>2021-01-27 18:57:27 +0200
committerOleksandr Suvorov <oleksandr.suvorov@toradex.com>2021-01-28 14:48:20 +0200
commita95a473b2dd27e1baf066dc92b56d4de8c1106e0 (patch)
tree94fa4dcccc7198c89dc9011ae61a0eb84ed36746 /.gitlab-ci.yml
parent7035534414f207ac6b4edd0cf3edf6789a506d74 (diff)
gitlab-ci: fix building kernel 5.4-2.3.x
A new kernel needs lzop tool to be built. Use the new docker image that includes this tool. Also a new kernel doesn't have multi_v7_defconfig. Replace it with imx_v6_v7-defconfig to make a kernel to build successfully. Related-to: ELB-3326 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 00a9a12c1233..df1962b6eaeb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,7 +1,7 @@
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
+ CI_IMAGE: gitlab.int.toradex.com:4567/oleksandr.suvorov/ci-toolchain-container:linux-kernel-builder
DOCKER_HOST: tcp://docker:2375
DOCKER_DRIVER: overlay2
DOCKER_TLS_CERTDIR: ""
@@ -25,7 +25,7 @@ build_kernel:
echo "building with $THREADS parallel threads"
cd $CI_PROJECT_DIR
DEVICETREES=$(find arch/arm/boot/dts/ -regextype posix-extended -regex "^.*\/imx.*(apalis|colibri|verdin).*\.dts" | sed 's/arch\/arm\/boot\/dts\///' | sed 's/\.dts/\.dtb/')
- make multi_v7_defconfig
+ make imx_v6_v7_defconfig
echo -e "building: \n$DEVICETREES"
make -j$THREADS $DEVICETREES
make -j$THREADS