Commit 1195306e authored by WangYuli's avatar WangYuli Committed by Masahiro Yamada
Browse files

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: default avatarShiwei Liu <liushiwei@anheng.com.cn>
Signed-off-by: default avatarWangYuli <wangyuli@uniontech.com>
Reviewed-by: default avatarNathan Chancellor <nathan@kernel.org>
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent dbdffaf5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -77,6 +77,8 @@ set_debarch() {
			debarch=i386
		fi
		;;
	loongarch64)
		debarch=loong64 ;;
	esac
	if [ -z "$debarch" ]; then
		debarch=$(dpkg-architecture -qDEB_HOST_ARCH)