32 Commits

Author SHA1 Message Date
Ralf Anton Beier
448047c7e4 Upgrade to 1.54.0 (#359)
The rust patches for riscv64 have been upstreamed
and are not needed anymore.

The riscv64 patches for libstd-rs need to be
applied to libc-0.2.93 to work. Some slight
modifications are necessary.

Signed-off-by: Ralf Anton Beier <ralf_beier@me.com>
2021-08-09 14:10:00 -04:00
Martin 'JaMa' Jansa
bf6705fb7f Convert to new override syntax (#357)
* Convert to new override syntax

This is the result of automated script (0.9.0) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>

* Manually fix the conversion

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>

* layer.conf: Update layer compatibility with only dunfell and newer.

Add honister to mark the layers as compatible with honister now that it uses
the new override syntax.

Drop zeus and older which are missing a support for newer override syntax which
was backported only to 1.46 branch (used by dunfell) and newer, e.g.:
https://git.openembedded.org/bitbake/commit/?h=1.46&id=c5418eae56cc50dbae7951c055434a0c456c53a4

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>

* CI: use YOCTO_BRANCH instead of yocto-${YOCTO_VERSION} for poky checkout

* using latest revision in branch is often better than sticking to
  some point releases

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>

* CI: switch to hardknott branch

* gatesgarth is already EOL, better to use something supported

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-05 17:37:51 -04:00
Khem Raj
7a8876558b layer.conf: add hardknott to compatible release branches
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-17 23:16:15 -07:00
Martin Jansa
71538c8762 rust_versions.inc: switch the default version to 1.49.0
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-02-08 17:04:06 +01:00
Martin Jansa
9c0a1059be rust_versions.inc: add include for easy switching between versions
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-02-07 19:36:00 +01:00
Khem Raj
2822b50c04 layer.conf: Add gatesgarth to LAYERSERIES_COMPAT
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-15 09:28:23 -07:00
Khem Raj
e4d25b9808 layer.conf: Mark it 3.1 release compatible
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-24 07:18:22 -07:00
Khem Raj
5d1ada0c97 layer.conf: Mark compatible with zeus release
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-08 15:46:24 -07:00
Khem Raj
9a077b21d0 layer.conf: Add warrior to compatible release series
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-04-01 19:04:45 -07:00
Aníbal Limón
99ec7396f6 conf/layer.conf: Add thud to the LAYERSERIES_COMPAT
To support current master builds.

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
2018-10-19 19:48:18 -05:00
Johan Anderholm
d3bdd55c03 Add rocko as compatible version
The master branch is still compatible with rocko.
2018-07-06 19:34:33 +02:00
Andrei Gherzan
ab62d9cdbf layer.conf: Define LAYERSERIES_COMPAT to fix build warning
Signed-off-by: Andrei Gherzan <andrei@resin.io>
2018-05-14 18:24:55 +01:00
Derek Straka
9b0dc6b3af layer.conf: add the openembedded-layer to the depends since we use libgit2 from there
Signed-off-by: Derek Straka <derek@asterius.io>
2017-10-03 10:35:17 -04:00
Derek Straka
9f1f8ab32f Fix the bblayers sample file based on poky renames
Signed-off-by: Derek Straka <derek@asterius.io>
2017-09-29 08:42:36 -04:00
Derek Straka
0adcc6e0bc Add the ability to use and store build cache artifacts
Signed-off-by: Derek Straka <derek@asterius.io>
2017-02-14 12:44:11 -05:00
Doug Goldstein
ea040ab01d build: make the default machine x86_64 2016-11-03 14:56:22 -05:00
Derek Straka
d716587c26 add Jenkinsfile to test each PR and branch commits
This includes a basic test that attempts to compile the rustfmt crate.
Ensures that the workspace is always removed at the end of the build. It
utilizes available caches to speed up the build process and parallelizes
the build across i386, x86_64, arm32, and arm64 targets.

Signed-off-by: Derek Straka <derek@asterius.io>
2016-10-30 19:41:53 -05:00
Doug Goldstein
52cbdd3b24 add Yocto config files so we can build
So that we can use the meta-rust layer as the final layer with some
configuration (for the purposes of testing). These configs should be not
used by actual end users.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
2016-10-30 10:07:06 -05:00
Derek Straka
0992dbb4bc remove duplicate license that already exists in meta-oe
Signed-off-by: Derek Straka <derek@asterius.io>
2016-08-02 10:48:55 -04:00
Derek Straka
61d0ab2b9e Update the linker flags to include libssp
Signed-off-by: Derek Straka <derek@asterius.io>
2016-03-23 17:24:18 -04:00
Derek Straka
e76332d732 Move the cargo and rust recipes from 'recipes' to 'recipes-devtools' 2016-02-19 19:11:43 -05:00
Cody P Schafer
4b03af4190 security-flags: remove now defunct un-suffixed rust-cross package reference 2016-02-17 21:14:00 -05:00
Derek Straka
5aab7e99ae Add the llvm and new rust-cross to the set of items where PIE is disabled
Signed-off-by: Derek Straka <derek@asterius.io>
2016-02-14 12:48:51 -05:00
Cody P Schafer
7413948eaf Merge branches 'pr19', 'pr20' and 'pr21', remote-tracking branch 'origin/no-strip' 2015-12-11 22:41:38 -05:00
Doug Goldstein
6a75a08ef4 Provide distro config include for security flags
When someone is using a distro that's using security flags we need to
provide overrides to disable PIE.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
2015-11-09 12:11:24 -06:00
Doug Goldstein
25b4255204 remove conf/licenses.conf
Per conversation in #rust with kergoth this file is causing a backtrace
in bitbake because its overriding the meta/conf/licenses.conf file. The
behavior that's expected out of this isn't valid with newer Yocto
releases so its possible this is for an older version.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
2015-11-06 10:18:56 -06:00
Doug Goldstein
8752eef1dc fix LICENSE_PATH location
The path in LICENSE_PATH was not the correct path to where the licenses
are located in this repo.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
2015-11-06 09:35:56 -06:00
Cody P Schafer
d50952c452 update rustc to 2015-03-23
We need a git version of libgit2 again :(

Also fix the license complaints
2015-05-26 12:06:27 -04:00
Cody P Schafer
929110c67d cargo and rust tweaking 2014-12-30 23:04:23 -05:00
Cody P Schafer
f284b4c91e disable cargo assume 2014-12-03 14:02:17 -05:00
Cody P Schafer
3cf2b9e42c Rework ASSUME_PROVIDED and notes 2014-12-02 16:40:45 -05:00
Cody P Schafer
f7801cf999 Initial, untested
- rust-cross builds
 - cargo-native still broken
 - untested wrappers for rust and cargo provided in rust.bbclass
2014-10-25 12:50:28 -04:00