35 Commits

Author SHA1 Message Date
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
Anatol Belski ab86e0a068 nativesdk: Add some tools in a separate recipe (#345)
* nativesdk: Add some tools in a separate recipe

This brings ATM:
- clippy
- rustfmt

Another approach might be to include these into the existing rust recipe,
but as we can't really use PACKAGECONFIG here it might just overload it.
This way, the tools will be built in parallel and still can be excluded
from the packgae group, if desired.

Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
2021-06-05 13:42:18 -04:00
Anatol Belski 3773dbcebd nativesdk: Package rust sources
This mimics what rustup packages into the toolchain contents. The
presence of the sources for the exact std lib can be useful for the
development and IDE integration.

Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
2021-05-04 21:46:00 +02:00
Anatol Belski 2932b399a5 packagegroup-rust-cross-canadian: Remove trailing WS 2021-03-30 15:11:59 +00:00
Anatol Belski 439dea8664 nativesdk: Implement cross canadian support
This addition closes #236 requesting the SDK support. The implementation
consists on a yet minimum set of worky functionality;

- Includes rustc, rustdoc and cargo.
- Includes libstd and accompanying lib archives for host and for target.
- Integrates with the standard environment setup script.
- Integrates configurations automatically build for target.

The supported build host is still AMD64 only.

Note that there's no need on introducing crosssdk package as the
official snapshot package serves same way as a non SDK build.

Possible future directions:

- Offline build:
	- Support pre-cached set of crates that can be vendored.
	- Support pre-filled cargo registry.
- Support further tools like cargo-fmt, cargo-clippy, GDB support and so
on.

Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
2021-03-30 15:11:59 +00:00
Doug Goldstein 55e9c18a37 remove recipes-core & recipes-graphics
Remove these recipes as I do not believe they are functional since the
fixes for #126 were done (removing the modifications to the compiler to
allow them to be used). #197 additionally points out that rand-rs has
not had a valid commit hash and most of these in some way depend on that
so these cannot possibly work in their current form. Removing per #102.
Fixes #102.
2018-05-30 13:38:21 -05:00
Tyler Hall 81ea9f2d2c bitflags: update to 0.8.2 and Rust 1.20 compat
0.8.2 is the last version before the breaking "flags" keyword change.

For now, no_std crates need to be rlibs because rustc complains about
missing lang items on dylibs even though it would eventually be resolved
in the final link.

Ignore pub_use_of_private_extern_crate as there exists no version with
this fixed that uses the old API.
2017-11-03 09:57:21 -04:00
Tyler Hall d4755fc065 time-rs: update 0.1.26 -> 0.1.38
This version does not need the C helpers.
2017-11-03 09:57:21 -04:00
Tyler Hall 533507b25b libc-rs: update to 0.2.21
Signed-off-by: Tyler Hall <tyler.hall@lexmark.com>
Signed-off-by: Steven Walter <swalter@lexmark.com>
2017-11-03 09:57:21 -04:00
Steven Walter ad9f280e6c Allow various recipes to build -native 2017-11-03 09:57:19 -04:00
Steven Walter c4a8abed21 Add recipe for lazy-static 2016-08-29 21:11:42 -04:00
Steven Walter 62b3ed7895 Add recipes for num crate 2016-08-29 21:11:42 -04:00
Steven Walter c5978989a7 Add recipe for bitflags 2016-08-29 21:11:42 -04:00
Steven Walter 5eeb74ed5e memchr-rs: upgrade to 0.1.11
The old version no longer builds against the newer libc package
2016-08-28 14:59:03 -04:00
Steven Walter 1df6619559 rand: upgrade to 0.3.14
Needed to build under 1.10.0
2016-08-28 14:58:14 -04:00
Steven Walter 02962e7c70 rustc-serialize: upgrade to 0.3.19
Needed to build under 1.10.0
2016-08-28 14:58:14 -04:00
Steven Walter 18c946267e libc-rs: upgrade to 0.2.5 2016-05-05 21:56:19 -04:00
Tyler Hall 34c36492db Don't build any rlibs
I've seen this error from the compiler:
    found possibly newer version of crate `regex_syntax` which
    `env_logger` depends on

This is probably because the rlib hashes are not deterministic, but I
can't reproduce non-deterministic hashes locally.

There have been lots of other types of errors caused by mixing rlibs and
dylibs in the same dependency chain, so let's try using only dylibs
until that's stable.
2016-02-01 20:54:20 +00:00
Tyler Hall 84bacaaf21 time-rs: compile native helper C code 2016-02-01 20:54:20 +00:00
Tyler Hall fc0e2f74b3 libc: use common build functions and create dylib
Working around "error: cannot satisfy dependencies so `libc` only shows
up once."
2016-02-01 20:53:51 +00:00
Tyler Hall 9fac435f1c Add crypto crate 2016-02-01 20:53:51 +00:00
Tyler Hall 232d100c09 Add rand crate 2016-02-01 20:53:51 +00:00
Tyler Hall b516012a46 Add unix-socket crate 2016-02-01 20:53:51 +00:00
Tyler Hall fa0d333237 Add debug-builders crate 2016-02-01 20:53:51 +00:00
Tyler Hall 1c1819971e Add rustc-serialize crate 2016-02-01 20:53:51 +00:00
Steven Walter 9c571225f2 libudev: add recipes for latest releases of libudev-{rs,sys} 2016-02-01 20:53:51 +00:00
Tyler Hall d679297552 Add getopts crate 2015-07-23 08:48:05 -04:00
Tyler Hall 7b2e008f89 Add regex crate 2015-07-23 08:48:05 -04:00
Tyler Hall e3d9812ca4 Add aho-corasick crate 2015-07-23 08:48:05 -04:00
Tyler Hall fb840fda14 Add memchr crate 2015-07-23 08:48:05 -04:00
Tyler Hall c890efd958 Add log crate 2015-07-23 08:48:05 -04:00
Tyler Hall 69aaffe503 Add time crate 2015-07-23 08:48:05 -04:00
Tyler Hall f0326a8f55 Add dbus crate 2015-07-23 08:48:05 -04:00
Tyler Hall 572af7b451 Add libudev crates 2015-07-23 08:48:05 -04:00
Tyler Hall 05b8923770 Add liblibc crate 2015-07-23 08:48:05 -04:00