Skip to content

Commit 1195306

Browse files
Avenger-285714masahir0y
authored andcommitted
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@anheng.com.cn> Signed-off-by: WangYuli <wangyuli@uniontech.com> Reviewed-by: Nathan Chancellor <nathan@kernel.org> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
1 parent dbdffaf commit 1195306

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/package/mkdebian

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ set_debarch() {
7777
debarch=i386
7878
fi
7979
;;
80+
loongarch64)
81+
debarch=loong64 ;;
8082
esac
8183
if [ -z "$debarch" ]; then
8284
debarch=$(dpkg-architecture -qDEB_HOST_ARCH)

0 commit comments

Comments
 (0)