rust/mk
bors 7bd87c1f1b Auto merge of #30948 - fabricedesre:rpi2, r=alexcrichton
This adds support for the armv7 crosstool-ng toolchain for the Raspberry Pi 2.

Getting the toolchain ready:
Checkout crosstool-ng from https://github.com/crosstool-ng/crosstool-ng
Build crosstool-ng
Configure the rpi2 target with |ct-ng armv7-rpi2-linux-gnueabihf|
Build the toolchain with |ct-build| and add the path to $toolchain_install_dir/bin to your $PATH

Then, on the rust side:
configure --target=armv7-rpi2-linux-gnueabihf && make && make install

To cross compile for the rpi2,
add $rust_install_path/lib to your $LD_LIBRARY_PATH, then use
rustc --target=armv7-rpi2-linux-gnueabihf -C linker=armv7-rpi2-linux-gnueabihf-g++ hello.rs
2016-01-29 06:41:22 +00:00
..
cfg Add support for armv7 toolchains 2016-01-28 09:45:56 -08:00
clean.mk Added missing argument to 'find' 2015-10-27 23:47:53 +13:00
crates.mk move more checks out of librustc 2016-01-21 10:52:37 +01:00
ctags.mk Update the ctags rules and targets. 2015-07-30 06:35:42 +10:00
debuggers.mk debuginfo: Create common debugger pretty printer module. 2015-05-30 20:06:08 +02:00
dist.mk mk: Fix make dist 2015-12-04 08:55:02 -08:00
docs.mk src/doc/trpl -> src/doc/book 2015-11-19 11:30:18 -05:00
grammar.mk Make lexer tooling message more generic 2015-09-23 11:43:49 -04:00
host.mk mk: Add space before line continuation backslash 2014-07-23 08:44:11 -07:00
install.mk Fix typo in make var 2015-12-07 00:20:35 +01:00
llvm.mk mk: Use the right llvmdeps.rs file for cross build 2015-12-16 08:06:27 -08:00
main.mk mk: Remove all perf-related targets 2016-01-21 14:45:23 -08:00
platform.mk mk: Remove all perf-related targets 2016-01-21 14:45:23 -08:00
prepare.mk Fix --libdir installs 2015-11-16 18:55:07 -05:00
reconfig.mk mk: Fix reconfiguring top-level ./configure 2015-06-17 17:32:11 -07:00
rt.mk Auto merge of #30175 - alexcrichton:less-c-code, r=brson 2015-12-22 07:23:16 +00:00
rustllvm.mk trans: Use LLVM's writeArchive to modify archives 2015-07-10 09:06:21 -07:00
snap.mk Remove extra eval call in snap.mk 2015-11-13 15:15:51 -05:00
stage0.mk mk/stage0: complain instead of creating an empty file 2014-11-20 16:00:12 -05:00
target.mk mk: Move from -D warnings to #![deny(warnings)] 2016-01-24 20:35:55 -08:00
tests.mk Implement the translation item collector. 2016-01-26 10:17:45 -05:00
util.mk mk: Build crates with relative paths to rustc 2015-06-13 01:41:52 +02:00