From: "Ross Burton" <ross@burtonini.com>
To: meta-arm@lists.yoctoproject.org
Subject: [PATCH 2/2] kas: add a test for the external toolchain support
Date: Tue, 12 Jan 2021 11:09:15 +0000 [thread overview]
Message-ID: <20210112110915.315703-2-ross.burton@arm.com> (raw)
In-Reply-To: <20210112110915.315703-1-ross.burton@arm.com>
meta-arm-toolchain supports using an external binary arm
toolchain[1] instead of the gcc-cross built by oe-core.
Add a test case to exercise this build in the CI. Currently this
is only for the Aarch32 target as our CI runs on aarch64 and there
is no binary or aarch64 target on aarch64 host.
This depends on the image used by the CI having the relevant
compilers installed into /usr/local.
[1] https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a
Change-Id: I9f7ea66786e98a40cbd490386497e2d3aaa47e80
Signed-off-by: Ross Burton <ross.burton@arm.com>
---
.gitlab-ci.yml | 3 +++
kas/external-gcc-arm32.yml | 8 ++++++++
2 files changed, 11 insertions(+)
create mode 100644 kas/external-gcc-arm32.yml
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3ae0aa3..f67e8b8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -69,6 +69,9 @@ fvp-base:
fvp-base-arm32:
extends: .build
+fvp-base-arm32/external-gcc-arm32:
+ extends: .build
+
gem5-arm64:
extends: .build
diff --git a/kas/external-gcc-arm32.yml b/kas/external-gcc-arm32.yml
new file mode 100644
index 0000000..de8798e
--- /dev/null
+++ b/kas/external-gcc-arm32.yml
@@ -0,0 +1,8 @@
+header:
+ version: 9
+
+local_conf_header:
+ cc: |
+ PNBLACKLIST[gcc-cross-arm] = "Using external toolchain"
+ TCMODE = "external-arm"
+ EXTERNAL_TOOLCHAIN = "/usr/local/gcc-arm-10.2-2020.11-aarch64-arm-none-linux-gnueabihf"
--
2.25.1
next prev parent reply other threads:[~2021-01-12 11:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-12 11:09 [PATCH 1/2] kas: rename armgcc fragment to avoid conflicting with musl Ross Burton
2021-01-12 11:09 ` Ross Burton [this message]
2021-01-12 11:37 ` [meta-arm] [PATCH 2/2] kas: add a test for the external toolchain support Sumit Garg
2021-01-14 19:22 ` [meta-arm] [PATCH 1/2] kas: rename armgcc fragment to avoid conflicting with musl Jon Mason
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210112110915.315703-2-ross.burton@arm.com \
--to=ross@burtonini.com \
--cc=meta-arm@lists.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.