From 471c42f1a5d57985c53af6b368622b1e1ca3c454 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 6 Jun 2024 09:04:17 +0800 Subject: [PATCH] add sw arch --- config.guess | 3 +++ config.sub | 2 ++ system-rpm-config.spec | 5 ++++- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/config.guess b/config.guess index fef2368..1fdfd43 100644 --- a/config.guess +++ b/config.guess @@ -915,6 +915,9 @@ EOF UNAME_MACHINE=aarch64_be echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; + sw_64:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} + exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in EV5) UNAME_MACHINE=alphaev5 ;; diff --git a/config.sub b/config.sub index 70a0d27..3098010 100644 --- a/config.sub +++ b/config.sub @@ -247,6 +247,7 @@ case $basic_machine in # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ + | sw_64 \ | aarch64 | aarch64_be \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ @@ -371,6 +372,7 @@ case $basic_machine in # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ + | sw_64-* \ | aarch64-* | aarch64_be-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ diff --git a/system-rpm-config.spec b/system-rpm-config.spec index ebb28c5..6bd53e7 100644 --- a/system-rpm-config.spec +++ b/system-rpm-config.spec @@ -3,7 +3,7 @@ # 1) Don't add patches, dist-git is the upstream repository for this package. # 2) When making changes, update version by +1, leave release alone. # -%define anolis_release .0.2 +%define anolis_release .0.3 Summary: Anolis OS specific rpm configuration files Name: system-rpm-config @@ -219,6 +219,9 @@ install -p -m 755 %{SOURCE21} %{buildroot}%{_rpmconfigdir}/kabi.sh %{_rpmconfigdir}/macros.d/macros.kmp %changelog +* Wed Jun 19 2024 wxiat - 129-1.0.3 +- add sw arch + * Thu Nov 10 2022 2022 happy_orange - 129-1.0.2 - rename the package -- Gitee