From 6a2162249965e91eed480f68153fea25701b1136 Mon Sep 17 00:00:00 2001 From: Daniel Baluta Date: Fri, 15 Nov 2019 14:19:05 +0200 Subject: [PATCH] [DEBUG][CI]travis: Add build for arm64 For the moment the only arm64 platforms supporting SOF are NXP's i.MX8/i.MX8X. .config file used to create the final Image is obtained like this; * first create arm64 defconfig (this will enable *huge* amounts of config options) * merge it with imx-no-bloat (this will remove all arm64 platform configs except IMX) * finally merge it with sof-defconfig Signed-off-by: Daniel Baluta --- .travis.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d226c5e6e38d..f7a05d36d2c3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ git: before_install: - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test - sudo apt-get update -qq - - sudo apt-get install -y python-ply python-git libelf-dev codespell sparse fakeroot gcc-7 g++-7 + - sudo apt-get install -y python-ply python-git libelf-dev codespell sparse fakeroot gcc-7 g++-7 gcc-aarch64-linux-gnu - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 70 --slave /usr/bin/g++ g++ /usr/bin/g++-7 - git clone https://github.com/thesofproject/kconfig.git @@ -47,3 +47,9 @@ jobs: - make defconfig - scripts/kconfig/merge_config.sh .config kconfig/base-defconfig kconfig/sst-defconfig - KCFLAGS="-Wall -Werror" make -j`getconf _NPROCESSORS_ONLN` + - name: "BUILD SOF Kernel arm64" + script: + - export ARCH=arm64 CROSS_COMPILE=/usr/bin/aarch64-linux-gnu- + - make defconfig + - scripts/kconfig/merge_config.sh .config kconfig/nobloat-imx-defconfig kconfig/sof-defconfig + - KCFLAGS="-Wall -Werror" make -j`getconf _NPROCESSORS_ONLN`