summaryrefslogtreecommitdiffstats
path: root/rules/cross-rustc.in
diff options
context:
space:
mode:
Diffstat (limited to 'rules/cross-rustc.in')
-rw-r--r--rules/cross-rustc.in50
1 files changed, 50 insertions, 0 deletions
diff --git a/rules/cross-rustc.in b/rules/cross-rustc.in
new file mode 100644
index 0000000..999c706
--- /dev/null
+++ b/rules/cross-rustc.in
@@ -0,0 +1,50 @@
+menuconfig CROSS_RUSTC
+ tristate
+ select CROSS_LLVM
+ prompt "rustc "
+ help
+ FIXME
+
+if CROSS_RUSTC
+
+config CROSS_RUSTC_VERSION
+ string
+ prompt "rustc version"
+ help
+ Specify the version of rustc here.
+
+config CROSS_RUSTC_MD5
+ string
+ prompt "rustc source md5sum"
+
+config CROSS_RUSTC_TARGET
+ string
+ default "${PTXCONF_GNU_TARGET}"
+ prompt "rust target triple"
+
+config CROSS_RUSTC_BUILD_VERSION
+ string
+ prompt "build version"
+ help
+ version of the prebuilt rust compiler. It will be used to bootstrap
+ the rust compiler.
+
+config CROSS_RUSTC_BUILD_DATE
+ string
+ prompt "build date"
+ help
+ needed to download the prebuilt rust compiler.
+
+config CROSS_RUSTC_BUILD_STD_MD5
+ string
+ prompt "rust-std binary md5sum"
+
+config CROSS_RUSTC_BUILD_RUSTC_MD5
+ string
+ prompt "rustc binary md5sum"
+
+config CROSS_RUSTC_BUILD_CARGO_MD5
+ string
+ prompt "cargo binary md5sum"
+
+endif