[<prev] [next>] [day] [month] [year] [list]
Message-ID: <DB8BF02DB314013F+20250224182619.1557027-1-wangyuli@uniontech.com>
Date: Tue, 25 Feb 2025 02:26:19 +0800
From: WangYuli <wangyuli@...ontech.com>
To: masahiroy@...nel.org,
nathan@...nel.org,
nicolas@...sle.eu
Cc: linux-kbuild@...r.kernel.org,
linux-kernel@...r.kernel.org,
chenhuacai@...ngson.cn,
kernel@...0n.name,
revy@...pin.org,
zhanjun@...ontech.com,
niecheng1@...ontech.com,
guanwentao@...ontech.com,
chenlinxuan@...ontech.com,
WangYuli <wangyuli@...ontech.com>,
Shiwei Liu <liushiwei@...eng.com.cn>
Subject: [PATCH] kbuild: deb-pkg: add debarch for ARCH=loongarch64
Fix follow warning when 'make ARCH=loongarch64 bindeb-pkg':
** ** ** WARNING ** ** **
Your architecture doesn't have its equivalent
Debian userspace architecture defined!
Falling back to the current host architecture (loong64).
Please add support for loongarch64 to ./scripts/package/mkdebian ...
Reported-by: Shiwei Liu <liushiwei@...eng.com.cn>
Signed-off-by: WangYuli <wangyuli@...ontech.com>
---
scripts/package/mkdebian | 2 ++
1 file changed, 2 insertions(+)
diff --git a/scripts/package/mkdebian b/scripts/package/mkdebian
index b6dd98ca860b..0178000197fe 100755
--- a/scripts/package/mkdebian
+++ b/scripts/package/mkdebian
@@ -77,6 +77,8 @@ set_debarch() {
debarch=i386
fi
;;
+ loongarch64)
+ debarch=loong64 ;;
esac
if [ -z "$debarch" ]; then
debarch=$(dpkg-architecture -qDEB_HOST_ARCH)
--
2.47.2
Powered by blists - more mailing lists