summaryrefslogtreecommitdiffstats
path: root/rules/pre
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2023-06-22 07:43:38 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2023-06-22 07:43:41 +0200
commitac72453cc9ec7ae6b6f19be4d58d49703c557e8c (patch)
tree3364da8d81f4b1eb169e77dc7f38001f87726968 /rules/pre
parent74923a19b980ec93c8a4122a859d3ce98d1eac3e (diff)
downloadptxdist-ac72453cc9ec7ae6b6f19be4d58d49703c557e8c.tar.gz
ptxdist-ac72453cc9ec7ae6b6f19be4d58d49703c557e8c.tar.xz
pre/Rules: keep x86_64-unknown-linux-gnu for GNU_BUILD
The new config.guess changed it to x86_64-pc-linux-gnu but some stuff, e.g. rustc in OSELAS.Toolchain requires this to be x86_64-unknown-linux-gnu so stick with that for now. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/pre')
-rw-r--r--rules/pre/Rules.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/pre/Rules.make b/rules/pre/Rules.make
index 63c394189..5ed53f23c 100644
--- a/rules/pre/Rules.make
+++ b/rules/pre/Rules.make
@@ -9,7 +9,7 @@
# FIXME: cleanup
-GNU_BUILD := $(call ptx/force-sh, $(SCRIPTSDIR)/autoconf/config.guess)
+GNU_BUILD := $(call ptx/force-sh, $(SCRIPTSDIR)/autoconf/config.guess | sed s/-pc-/-unknown-/)
GNU_HOST := $(call ptx/force-sh, echo $(GNU_BUILD) | sed s/-[a-zA-Z0-9_]*-/-host-/)
INSTALL := install