support/gnuconfig/config.sub: add C-SKY support
authorGuo Ren <ren_guo@c-sky.com>
Wed, 8 May 2019 08:58:34 +0000 (16:58 +0800)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 27 May 2019 20:29:07 +0000 (22:29 +0200)
Modify config.sub so that it knows about the C-SKY
architecture. Without this, all autotools projects fail to build on
C-SKY.

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
[Thomas: improved commit log]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
support/gnuconfig/config.sub

index 6d86a1e2f77b3f89d0ce8efa7741c611aa2d6edf..45dd0a7d044169c350f299f95a933e5a256b79cb 100755 (executable)
@@ -254,6 +254,7 @@ case $basic_machine in
        | arc | arceb \
        | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
        | avr | avr32 \
+       | csky \
        | ba \
        | be32 | be64 \
        | bfin \
@@ -376,6 +377,7 @@ case $basic_machine in
        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
        | avr-* | avr32-* \
+       | csky-* \
        | ba-* \
        | be32-* | be64-* \
        | bfin-* | bs2000-* \