[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Add "riscv" as an alias for "riscv32"

From: Ben Elliston
Subject: Re: [PATCH] Add "riscv" as an alias for "riscv32"
Date: Fri, 22 Jun 2018 09:16:51 +1000
User-agent: NeoMutt/20170609 (1.8.3)

On Wed, Jun 20, 2018 at 10:24:41AM -0700, Palmer Dabbelt wrote:

> 2018-06-11  Palmer Dabbelt  <address@hidden>
>       * config.sub: Add "riscv-*" as an alias for "riscv32-*".
>       * testsuite/ Add tests for the "riscv-*" alias.

In light of the discussion, I think this patch is OK. Do we want to
change config.guess to always emit riscv for the native configuration,
like so?

diff --git a/config.guess b/config.guess
index 883a671..c501b8a 100755
--- a/config.guess
+++ b/config.guess
@@ -1025,7 +1025,7 @@ EOF
        echo powerpcle-unknown-linux-"$LIBC"
        exit ;;
     riscv32:Linux:*:* | riscv64:Linux:*:*)
-       echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
+       echo riscv-unknown-linux-"$LIBC"
        exit ;;
     s390:Linux:*:* | s390x:Linux:*:*)
        echo "$UNAME_MACHINE"-ibm-linux-"$LIBC"


Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]