config.sub: don’t override OS for blackfin, m68knommu, parisc.

A similar issue to the previous patch: make the OS default for the CPU
aliases “blackfin,” “m68knommu,” and “parisc” actually be a default
and not an override.  There have been many OSes for PA/RISC.  Both
blackfin and m68knommu are definitely used in bare-metal configuration
as well as with an OS.  And in general, CPU aliases should behave as
much like the canonical CPU name as possible.

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
This commit is contained in:
Zack Weinberg 2024-06-03 15:28:38 -04:00 committed by Dmitry V. Levin
parent fc40088525
commit 053423ac1b
2 changed files with 10 additions and 3 deletions

6
config.sub vendored
View File

@ -1093,7 +1093,7 @@ case $cpu-$vendor in
;;
blackfin-*)
cpu=bfin
basic_os=linux
basic_os=${basic_os:-linux}
;;
c54x-*)
cpu=tic54x
@ -1116,7 +1116,7 @@ case $cpu-$vendor in
;;
m68knommu-*)
cpu=m68k
basic_os=linux
basic_os=${basic_os:-linux}
;;
m9s12z-* | m68hcs12z-* | hcs12z-* | s12z-*)
cpu=s12z
@ -1126,7 +1126,7 @@ case $cpu-$vendor in
;;
parisc-*)
cpu=hppa
basic_os=linux
basic_os=${basic_os:-linux}
;;
pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
cpu=i586

View File

@ -171,6 +171,8 @@ be64-none be64-unknown-none
bfin bfin-unknown-none
bfin-elf bfin-unknown-elf
blackfin bfin-unknown-linux-gnu
blackfin-elf bfin-unknown-elf
blackfin-linux bfin-unknown-linux-gnu
bpf bpf-unknown-none
bpf-elf bpf-unknown-elf
c1 c1-convex-bsd
@ -430,6 +432,8 @@ m68k-mint m68k-atari-mint
m68k-next-openstep3 m68k-next-openstep3
m68k-next-openstep4 m68k-next-openstep4
m68knommu m68k-unknown-linux-gnu
m68knommu-elf m68k-unknown-elf
m68knommu-linux m68k-unknown-linux-gnu
m88k m88k-unknown-none
m88k-omron m88k-omron-luna
m9s12z s12z-unknown-none
@ -621,6 +625,9 @@ ose68k m68k-ericsson-ose
pa-hitachi hppa1.1-hitachi-hiuxwe2
paragon i860-intel-osf
parisc hppa-unknown-linux-gnu
parisc-hiux hppa-hitachi-hiuxwe2
parisc-hpux hppa-hp-hpux
parisc-linux hppa-unknown-linux-gnu
pbb m68k-tti-sysv3
pbd sparc-tti-sysv3
pc532 ns32k-pc532-none