Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 1 | From e5b95b3918588e2930c9af7ba304c57e871b2d55 Mon Sep 17 00:00:00 2001 |
| 2 | From: Alexander Kanavin <alex@linutronix.de> |
| 3 | Date: Thu, 7 Oct 2021 12:44:18 +0200 |
| 4 | Subject: [PATCH] build: do not use autoconf's config.sub to 'canonicalize' |
| 5 | names |
| 6 | |
| 7 | The outcome is that processed names no longer match our custom rust |
| 8 | target definitions, and the build fails. |
| 9 | |
| 10 | Upstream-Status: Inappropriate [oe-core specific] |
| 11 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> |
| 12 | --- |
| 13 | build/moz.configure/init.configure | 2 +- |
| 14 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 15 | |
| 16 | diff --git a/build/moz.configure/init.configure b/build/moz.configure/init.configure |
| 17 | index 3a164c6558..99dfc9054a 100644 |
| 18 | --- a/build/moz.configure/init.configure |
| 19 | +++ b/build/moz.configure/init.configure |
| 20 | @@ -823,7 +823,7 @@ def help_host_target(help, host, target): |
| 21 | |
| 22 | def config_sub(shell, triplet): |
| 23 | config_sub = os.path.join(os.path.dirname(__file__), "..", "autoconf", "config.sub") |
| 24 | - return check_cmd_output(shell, config_sub, triplet).strip() |
| 25 | + return triplet |
| 26 | |
| 27 | |
| 28 | @depends("--host", shell) |