diff options
author | Pradipta Ghosh <pradghos@in.ibm.com> | 2020-08-21 02:24:34 -0700 |
---|---|---|
committer | Pradipta Ghosh <pradghos@in.ibm.com> | 2020-08-27 09:51:17 -0700 |
commit | ebae86dea79e1ce62ae3d6849d7292d99a5b199e (patch) | |
tree | dc850593e89c2c4a4bbae96b88bc1c2cedc5d114 | |
parent | 5659366bf62b5555bf914b5f55e8a01c92d6c6f1 (diff) | |
download | crosstool-ng-ebae86dea79e1ce62ae3d6849d7292d99a5b199e.tar.gz crosstool-ng-ebae86dea79e1ce62ae3d6849d7292d99a5b199e.tar.bz2 crosstool-ng-ebae86dea79e1ce62ae3d6849d7292d99a5b199e.zip |
Adding new samples s390x/s390-unknown-linux-gnu
- s390x/s390 is allowed to pair with other vendor name.
- new samples are being added to use this flexibility.
- Fix space issue
-rw-r--r-- | samples/s390-ibm-linux-gnu/crosstool.config | 1 | ||||
-rw-r--r-- | samples/s390-unknown-linux-gnu/crosstool.config | 6 | ||||
-rw-r--r-- | samples/s390-unknown-linux-gnu/reported.by | 3 | ||||
-rw-r--r-- | samples/s390x-ibm-linux-gnu/crosstool.config | 1 | ||||
-rw-r--r-- | samples/s390x-unknown-linux-gnu/crosstool.config | 6 | ||||
-rw-r--r-- | samples/s390x-unknown-linux-gnu/reported.by | 3 | ||||
-rwxr-xr-x | scripts/config.guess | 2 | ||||
-rwxr-xr-x | scripts/config.sub | 9 |
8 files changed, 22 insertions, 9 deletions
diff --git a/samples/s390-ibm-linux-gnu/crosstool.config b/samples/s390-ibm-linux-gnu/crosstool.config index bf6fbe03..06fb9f6f 100644 --- a/samples/s390-ibm-linux-gnu/crosstool.config +++ b/samples/s390-ibm-linux-gnu/crosstool.config @@ -1,6 +1,7 @@ CT_CONFIG_VERSION="3" CT_EXPERIMENTAL=y CT_ARCH_S390=y +CT_TARGET_VENDOR="ibm" CT_KERNEL_LINUX=y CT_BINUTILS_PLUGINS=y CT_CC_LANG_CXX=y diff --git a/samples/s390-unknown-linux-gnu/crosstool.config b/samples/s390-unknown-linux-gnu/crosstool.config new file mode 100644 index 00000000..bf6fbe03 --- /dev/null +++ b/samples/s390-unknown-linux-gnu/crosstool.config @@ -0,0 +1,6 @@ +CT_CONFIG_VERSION="3" +CT_EXPERIMENTAL=y +CT_ARCH_S390=y +CT_KERNEL_LINUX=y +CT_BINUTILS_PLUGINS=y +CT_CC_LANG_CXX=y diff --git a/samples/s390-unknown-linux-gnu/reported.by b/samples/s390-unknown-linux-gnu/reported.by new file mode 100644 index 00000000..6fb72728 --- /dev/null +++ b/samples/s390-unknown-linux-gnu/reported.by @@ -0,0 +1,3 @@ +reporter_name="Pradipta Ghosh" +reporter_url="https://github.com/pradghos/crosstool-ng" +reporter_comment="reference samples s390-ibm-linux-gnu" diff --git a/samples/s390x-ibm-linux-gnu/crosstool.config b/samples/s390x-ibm-linux-gnu/crosstool.config index 55b1622e..8b4bb083 100644 --- a/samples/s390x-ibm-linux-gnu/crosstool.config +++ b/samples/s390x-ibm-linux-gnu/crosstool.config @@ -1,6 +1,7 @@ CT_CONFIG_VERSION="3" CT_ARCH_S390=y CT_ARCH_64=y +CT_TARGET_VENDOR="ibm" CT_KERNEL_LINUX=y CT_BINUTILS_PLUGINS=y CT_CC_LANG_CXX=y diff --git a/samples/s390x-unknown-linux-gnu/crosstool.config b/samples/s390x-unknown-linux-gnu/crosstool.config new file mode 100644 index 00000000..55b1622e --- /dev/null +++ b/samples/s390x-unknown-linux-gnu/crosstool.config @@ -0,0 +1,6 @@ +CT_CONFIG_VERSION="3" +CT_ARCH_S390=y +CT_ARCH_64=y +CT_KERNEL_LINUX=y +CT_BINUTILS_PLUGINS=y +CT_CC_LANG_CXX=y diff --git a/samples/s390x-unknown-linux-gnu/reported.by b/samples/s390x-unknown-linux-gnu/reported.by new file mode 100644 index 00000000..7ac1e074 --- /dev/null +++ b/samples/s390x-unknown-linux-gnu/reported.by @@ -0,0 +1,3 @@ +reporter_name="Pradipta Ghosh" +reporter_url="https://github.com/pradghos/crosstool-ng" +reporter_comment="reference samples s390x-ibm-linux-gnu" diff --git a/scripts/config.guess b/scripts/config.guess index a81aa505..183eb2a6 100755 --- a/scripts/config.guess +++ b/scripts/config.guess @@ -1041,7 +1041,7 @@ EOF echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; s390:Linux:*:* | s390x:Linux:*:*) - echo "$UNAME_MACHINE"-ibm-linux-"$LIBC" + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; sh64*:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" diff --git a/scripts/config.sub b/scripts/config.sub index 3b4c7624..36df2c84 100755 --- a/scripts/config.sub +++ b/scripts/config.sub @@ -1139,14 +1139,6 @@ case $cpu-$vendor in cpu=nsx vendor=tandem ;; - s390-*) - cpu=s390 - vendor=ibm - ;; - s390x-*) - cpu=s390x - vendor=ibm - ;; tile*-*) os=${os:-linux-gnu} ;; @@ -1238,6 +1230,7 @@ case $cpu-$vendor in | sparclite \ | sparcv8 | sparcv9 | sparcv9b | sparcv9v | sv1 | sx* \ | spu \ + | s390 | s390x \ | tahoe \ | tic30 | tic4x | tic54x | tic55x | tic6x | tic80 \ | tron \ |