Richard Purdie
d48c7e4549
rust-common: Set llvm-target correctly for cross SDK targets
...
When a 'BUILD' target is requested we shouldn't be looking at TARGET_SYS but
at BUILD_SYS. Due to the way rust mangles triplets, we need the HOST_SYS triplet
to work with existing code - fixing that issue is a separate patch.
Also drop the arch_abi argument, it doens't make any sense to a getVar() call
and was a copy and paste error.
Based on a patch from Otavio Salvador <otavio@ossystems.com.br > but separated out
and tweaked.
Fixes: bd36593ba3 ("rust-common: Drop LLVM_TARGET and simplify")
(From OE-Core rev: d554161a045d12411f288394e253c54aa4c1257c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2022-07-28 11:07:33 +01:00
..
2022-05-27 23:50:47 +01:00
2022-02-20 16:45:25 +00:00
2022-02-16 09:46:29 +00:00
2022-04-21 20:58:15 +01:00
2022-07-12 23:56:10 +01:00
2022-02-20 16:45:25 +00:00
2022-02-20 16:45:25 +00:00
2022-06-17 17:57:44 +01:00
2022-07-28 11:07:33 +01:00
2022-06-07 21:21:54 +01:00
2022-02-20 16:45:25 +00:00
2022-02-20 16:45:25 +00:00
2022-06-07 21:21:55 +01:00
2022-07-01 11:31:42 +01:00
2022-02-20 16:45:25 +00:00
2022-02-20 16:45:25 +00:00
2021-08-02 15:44:10 +01:00
2021-11-25 21:55:10 +00:00
2022-02-20 16:45:25 +00:00
2022-07-01 11:31:42 +01:00
2022-06-04 11:28:23 +01:00
2021-11-03 11:12:26 +00:00
2022-02-20 16:45:25 +00:00
2022-07-12 23:56:10 +01:00
2022-02-20 16:45:25 +00:00
2022-06-14 10:04:02 +01:00
2022-06-25 21:13:40 +01:00
2022-06-17 17:57:44 +01:00
2022-03-16 13:39:12 +00:00
2022-04-20 13:13:59 +01:00
2022-06-17 17:57:44 +01:00
2022-06-25 21:13:40 +01:00
2022-07-25 22:59:00 +01:00
2022-05-13 17:56:29 +01:00
2022-07-23 13:55:26 +01:00
2021-11-03 10:12:42 +00:00
2022-06-17 17:57:44 +01:00
2022-07-23 13:55:25 +01:00
2022-04-19 14:14:12 +01:00
2022-02-20 16:45:25 +00:00
2022-03-01 23:44:59 +00:00
2021-08-02 15:44:10 +01:00
2022-02-20 16:45:25 +00:00
2022-02-21 23:37:27 +00:00
2022-04-19 14:14:12 +01:00
2022-02-20 16:45:25 +00:00
2022-05-05 21:17:38 +01:00
2021-10-23 17:42:25 +01:00
2022-02-10 10:32:08 +00:00
2022-05-20 09:25:47 +01:00
2022-03-23 12:13:49 +00:00
2022-07-23 13:55:25 +01:00
2022-07-23 13:55:26 +01:00
2022-07-18 11:47:37 +01:00
2022-03-11 06:56:01 +00:00
2022-02-20 16:45:25 +00:00
2022-05-27 23:50:48 +01:00
2022-07-23 13:55:26 +01:00
2022-07-23 13:55:26 +01:00
2022-02-20 16:45:25 +00:00
2022-06-07 21:21:55 +01:00
2021-08-02 15:44:10 +01:00
2022-05-27 23:50:47 +01:00
2022-06-06 13:36:05 +01:00
2022-02-20 16:45:25 +00:00
2021-08-02 15:44:10 +01:00
2022-02-20 16:45:25 +00:00
2022-02-25 12:41:23 +00:00
2022-07-12 12:52:52 +01:00
2022-06-07 21:21:55 +01:00
2021-11-10 19:27:29 +00:00
2022-02-20 16:45:25 +00:00
2022-04-05 22:23:40 +01:00
2022-07-25 22:59:01 +01:00
2022-07-25 22:59:01 +01:00
2022-03-02 18:43:24 +00:00
2022-07-01 11:31:42 +01:00
2022-02-20 16:45:25 +00:00
2022-05-05 21:17:38 +01:00
2022-07-14 23:22:09 +01:00
2021-09-07 21:54:11 +01:00
2022-07-28 11:07:33 +01:00
2022-05-29 23:58:00 +01:00
2022-07-25 22:59:01 +01:00
2022-04-26 18:25:08 +01:00
2022-02-20 16:45:25 +00:00
2022-02-20 16:45:25 +00:00
2022-02-20 16:45:25 +00:00
2021-12-08 20:22:10 +00:00
2022-02-21 23:37:27 +00:00
2021-11-21 11:05:02 +00:00
2021-02-26 15:21:21 +00:00
2022-07-23 13:55:26 +01:00
2022-06-25 00:06:08 +01:00
2022-02-20 16:45:25 +00:00