diff options
| author | Dmitry V. Levin <ldv@altlinux.org> | 2021-12-25 08:00:00 +0000 |
|---|---|---|
| committer | Dmitry V. Levin <ldv@altlinux.org> | 2021-12-25 08:00:00 +0000 |
| commit | ee9898641088ae9169de0453ce475d371f9d5016 (patch) | |
| tree | 4bfd853527ea3167c5008417d47f8f32fe8a463c | |
| parent | da0f86d042886ef8d77673ed96f9cadded4d94b9 (diff) | |
| download | config-ee9898641088ae9169de0453ce475d371f9d5016.tar.gz | |
config.sub: alias armh to armv7l
ALT uses armh as an alias for armv7l-alt-linux-gnueabihf since 2012.
* config.sub (armh-unknown|armh-alt): Set cpu, vendor, and basic_os.
(timestamp): Update.
* doc/config.sub.1: Regenerate.
* testsuite/config-sub.data (armh, armh-alt-linux-gnueabihf): New tests.
| -rwxr-xr-x | config.sub | 7 | ||||
| -rw-r--r-- | doc/config.sub.1 | 2 | ||||
| -rw-r--r-- | testsuite/config-sub.data | 2 |
3 files changed, 9 insertions, 2 deletions
@@ -4,7 +4,7 @@ # shellcheck disable=SC2006,SC2268 # see below for rationale -timestamp='2021-12-24' +timestamp='2021-12-25' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -1020,6 +1020,11 @@ case $cpu-$vendor in ;; # Here we normalize CPU types with a missing or matching vendor + armh-unknown | armh-alt) + cpu=armv7l + vendor=alt + basic_os=${basic_os:-linux-gnueabihf} + ;; dpx20-unknown | dpx20-bull) cpu=rs6000 vendor=bull diff --git a/doc/config.sub.1 b/doc/config.sub.1 index 3098672..438e672 100644 --- a/doc/config.sub.1 +++ b/doc/config.sub.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.5. -.TH CONFIG.SUB "1" "December 2021" "GNU config.sub (2021-12-24)" "User Commands" +.TH CONFIG.SUB "1" "December 2021" "GNU config.sub (2021-12-25)" "User Commands" .SH NAME config.sub \- validate and canonicalize a configuration triplet .SH SYNOPSIS diff --git a/testsuite/config-sub.data b/testsuite/config-sub.data index 44bd2f1..025b6fb 100644 --- a/testsuite/config-sub.data +++ b/testsuite/config-sub.data @@ -95,6 +95,8 @@ arm64-apple-ios aarch64-apple-ios armbe armbe-unknown-none armeb-unknown-netbsdelf7.0 armeb-unknown-netbsdelf7.0 armel armel-unknown-none +armh armv7l-alt-linux-gnueabihf +armh-alt-linux-gnueabihf armv7l-alt-linux-gnueabihf armle armle-unknown-none armv2 armv2-unknown-none armv3l armv3l-unknown-none |
