Skip to content

Commit c54ce8f

Browse files
author
WangYuli
committed
kbuild: deb-pkg: add debarch for ARCH=loongarch64
[ Upstream commit 1195306 ] 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> [ Backport from v6.15 ] Signed-off-by: WangYuli <wangyuli@uniontech.com>
1 parent 33d3eaf commit c54ce8f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

scripts/package/mkdebian

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ set_debarch() {
7070
debarch=sh4$(if_enabled_echo CONFIG_CPU_BIG_ENDIAN eb)
7171
fi
7272
;;
73+
loongarch64)
74+
debarch=loong64 ;;
7375
esac
7476
if [ -z "$debarch" ]; then
7577
debarch=$(dpkg-architecture -qDEB_HOST_ARCH)

0 commit comments

Comments
 (0)