mirror of
https://github.com/torvalds/linux.git
synced 2026-06-03 20:14:06 +02:00
[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 <daniel.baluta@nxp.com>
This commit is contained in:
parent
ecc776aef3
commit
6a21622499
|
|
@ -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`
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user