Doug Goldstein
49ea508249
Merge pull request #7 from starlab-io/arm-strip-fix
...
rust: inhibit stripping for cross compiler to avoid errors
2016-02-02 17:09:50 -06:00
Cody P Schafer
5a933d0f08
rust: inhibit stripping for cross compiler to avoid errors
2016-02-02 18:07:30 -05:00
Doug Goldstein
67d821913e
rust-llvm: fix linking issues
...
Signed-off-by: Doug Goldstein <cardoe@cardoe.com >
2016-01-21 21:36:50 -06:00
Jonathan Creekmore
3a3381b8d0
Merge pull request #5 from starlab-io/cleanup
...
drop older versions and rename to recipes-devtools
2015-12-11 15:25:10 -06:00
Doug Goldstein
9a1f1aad8d
move recipes/{rust,cargo} to recipes-devtools
...
This better matches where upstream puts compilers and development
utilities.
2015-12-11 00:43:18 -06:00
Doug Goldstein
0653dc1572
remove Rust 1.2.0
2015-12-11 00:41:23 -06:00
Doug Goldstein
be7e8c8ee6
remove Rust 1.1.0
2015-12-11 00:40:35 -06:00
Jonathan Creekmore
344a19bafb
Merge pull request #4 from starlab-io/fix-cross-build
...
Fix security flags for rust-cross
2015-11-17 10:14:52 -06:00
Doug Goldstein
640b962181
Fix security flags for rust-cross
2015-11-17 10:09:12 -06:00
Jonathan Creekmore
d19f3cb6cf
Merge pull request #3 from starlab-io/misc-updates
...
Move license files and update debug message
2015-11-17 09:56:26 -06:00
Doug Goldstein
a526e7a435
move licenses to top level
2015-11-17 09:23:22 -06:00
Doug Goldstein
6ae148d342
cargo.bbclass: update debug message
...
Hopefully this makes a bit more clear when you see this outputted.
2015-11-16 15:34:44 -06:00
Doug Goldstein
ff13d3319d
Merge pull request #2 from starlab-io/fix_sstate_cargo
...
Updates to rust build recipes
2015-11-16 11:31:26 -06:00
Derek Straka
a018f9586b
Add no PIE to rust-llvm
2015-11-15 07:44:29 -06:00
Derek Straka
3406a2920c
Update PR number and pack sstate correctly
2015-11-15 07:44:03 -06:00
Doug Goldstein
559214fceb
Merge pull request #1 from starlab-io/update-cargo-native
...
Use the pre-packaged version of cargo for the native packager.
While this is not how we really want to do things, this does let us move forward for right now.
2015-11-13 08:42:02 -06:00
Derek Straka
8702fd31f7
Use the pre-packaged version of cargo for the native packager
2015-11-12 17:40:14 -06:00
Doug Goldstein
1280c29fa7
Merge branch 'security-flags' into fido
2015-11-10 07:48:04 -06: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
2f703c9f1f
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 10:19:07 -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
Cody P Schafer
6b5f48afff
rust: fix rpaths in -cross so we use the right libtinfo
2015-10-06 11:16:51 -04:00
Cody P Schafer
1ea67929f0
rust: do_compile: fix logic for use of downloaded snapshot
2015-10-06 10:34:49 -04:00
Cody P Schafer
de532d33e1
rust: add missing comma in sed processing of cfg/X.mk file
2015-10-06 10:34:21 -04:00
Cody P Schafer
3bb1662b22
cargo: correct exported env var so we use our libgit2
2015-09-23 13:52:00 -04:00
Cody P Schafer
d8c94be67f
deps/libgit2: add/prep for new version but do not enable it
...
To enable we need to update cargo.
2015-09-23 13:51:02 -04:00
Cody P Schafer
e06125f009
rust: update to 1.3.0
2015-09-17 16:23:49 -04:00
Cody P Schafer
7c74a89a97
rust.inc: remove fixme regarding -runtime and commented hack for cross providing native
2015-08-26 16:13:02 -04:00
Cody P Schafer
410971cc31
rust.inc: remove unused var and now not-so-useful comments
2015-08-26 16:12:13 -04:00
Cody P Schafer
aeae4e452c
rust: remove USE_LOCAL_RUST in favor of PACKAGECONFIG
2015-08-26 16:10:55 -04:00
Cody P Schafer
a626e68cee
rust-1.2.0: fix llvm link issue cause "multiple crates" error
...
Fixes #6 (until something else comes along and adds another '-L')
At the same time remove the no longer needed patch to tweak llvm
version checking, we disable those checks in configure now.
2015-08-26 12:17:28 -04:00
Cody P Schafer
6750c4fcdd
rust: disable llvm-version-check, we use the submodule llvm so it had better work
2015-08-26 11:26:17 -04:00
Steven Walter
811aafe962
rust-llvm.inc: fix configure flags to match was rust uses
...
This fixes the assertion failure and allows 1.2.0 to successfully build
2015-08-26 10:57:16 -04:00
Cody P Schafer
0adfd73a7f
BROKEN: update to rust-1.2.0
...
This currently doesn't work due to some LLVM related failures I haven't
had the time to figure out.
2015-08-26 10:57:16 -04:00
Cody Schafer
14f297867a
readme: we've got a -runtime package with rustlib.
2015-07-30 23:15:02 -04:00
Cody Schafer
f690ae0f7e
Merge pull request #11 from srwalter/add-crates
...
Add recipes for various rust libraries
2015-07-27 01:09:57 -04: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
Cody Schafer
da03c2e3f3
Merge pull request #10 from srwalter/rustlib
...
Add rustlib.bb and rust-bin.bbclass
2015-07-22 17:40:08 -04:00
Tyler Hall
8c83519133
rust-bin/rustlib: install with executable permission
...
Necessary for binaries and required to appease OE's automatic library
RDEPENDS.
2015-07-17 12:52:36 -04:00
Tyler Hall
06f6aeaa79
rust-bin: set soname of shared objects
...
Poky will fail to automatically create RDEPENDS on shared objects
lacking a SONAME in the ELF.
2015-07-17 12:52:36 -04:00
Tyler Hall
837000f68a
rust-bin: common code for building libs
...
Libraries that overlap with the standard library must have explicit
extern declarations. Without something like pkg-config where the
libraries can publish this info, it's easiest to just hard-code the list
of troublesome libraries.
2015-07-17 12:52:36 -04:00
Tyler Hall
8a6f084c66
rust-bin: prefer-dynamic
...
We control static/dynamic by only making one or the other available.
Apparently the default of prefer static causes duplicate symbols for the
standard library.
2015-07-17 12:52:36 -04:00