Richard Purdie
1110f16718
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: cccbb8358be830b83a43fe1ff8a88932dee1c228)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
(cherry picked from commit d554161a045d12411f288394e253c54aa4c1257c)
Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com >
Signed-off-by: Steve Sakoman <steve@sakoman.com >
2023-12-12 04:20:35 -10:00
..
2023-10-18 05:13:24 -10:00
2022-09-16 17:53:22 +01:00
2022-02-16 09:46:29 +00:00
2023-08-26 04:24:02 -10:00
2023-11-28 05:00:32 -10:00
2022-02-20 16:45:25 +00:00
2023-02-15 21:46:56 +00:00
2022-03-04 17:14:15 +00:00
2022-06-07 11:53:26 +01:00
2023-10-05 15:48:49 -10:00
2022-02-20 16:45:25 +00:00
2022-02-20 16:45:25 +00:00
2023-07-21 06:27:34 -10:00
2022-03-16 10:31:40 +00: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
2023-08-19 05:56:58 -10:00
2022-03-16 10:31:40 +00:00
2021-11-03 11:12:26 +00:00
2022-02-20 16:45:25 +00:00
2022-08-01 16:27:29 +01:00
2022-02-20 16:45:25 +00:00
2023-06-21 04:00:58 -10:00
2022-03-01 23:44:59 +00:00
2022-03-15 08:40:09 +00:00
2022-03-16 13:39:12 +00:00
2022-02-20 16:45:25 +00:00
2023-09-08 16:09:41 -10:00
2022-02-21 23:37:27 +00:00
2023-09-23 05:26:15 -10:00
2023-09-18 04:28:04 -10:00
2023-05-30 04:11:15 -10:00
2021-11-03 10:12:42 +00:00
2022-03-24 17:45:29 +00:00
2023-11-28 05:00:32 -10:00
2022-02-20 16:45:25 +00: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
2023-10-05 15:48:49 -10:00
2022-02-20 16:45:25 +00:00
2023-09-08 16:09:42 -10:00
2021-10-23 17:42:25 +01:00
2022-02-10 10:32:08 +00:00
2022-05-25 22:45:50 +01:00
2022-03-23 12:13:49 +00:00
2023-05-30 04:11:15 -10:00
2022-08-04 16:29:15 +01:00
2023-03-20 17:20:44 +00:00
2022-03-11 06:56:01 +00:00
2022-02-20 16:45:25 +00:00
2022-06-11 10:06:13 +01:00
2023-03-20 17:20:44 +00:00
2022-05-25 22:45:50 +01:00
2022-12-01 19:35:05 +00:00
2022-03-20 00:02:22 +00:00
2023-09-08 16:09:41 -10:00
2023-07-01 08:37:24 -10:00
2022-12-13 15:23:34 +00:00
2022-11-09 17:42:08 +00:00
2021-08-02 15:44:10 +01:00
2022-02-20 16:45:25 +00:00
2023-04-11 11:31:52 +01:00
2023-07-21 06:27:34 -10:00
2022-03-20 00:02:22 +00:00
2023-03-23 22:45:33 +00:00
2022-02-20 16:45:25 +00:00
2023-09-23 05:26:15 -10:00
2023-12-12 04:20:34 -10:00
2023-11-28 05:00:32 -10:00
2023-05-30 04:11:15 -10:00
2022-03-02 18:43:24 +00:00
2022-10-11 21:56:13 +01:00
2023-04-11 11:31:52 +01:00
2023-09-30 09:43:59 -10:00
2023-05-10 04:19:57 -10:00
2023-12-12 04:20:35 -10:00
2022-03-20 00:02:22 +00:00
2023-07-12 05:11:38 -10:00
2022-05-04 13:07:33 +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
2023-09-23 05:26:16 -10:00
2021-11-21 11:05:02 +00:00
2021-02-26 15:21:21 +00:00
2023-03-20 17:20:44 +00:00
2023-01-06 17:33:23 +00:00
2022-02-20 16:45:25 +00:00