diff options
author | WangYuli <wangyuli@uniontech.com> | 2025-02-25 02:26:19 +0800 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2025-03-15 21:19:44 +0900 |
commit | 1195306ee359ced2cb9d7a192e973872571cb93a (patch) | |
tree | ee3e6d5052046344ba309d4bb9e1ac0907a9f6af | |
parent | dbdffaf50ff9cee3259a7cef8a7bd9e0f0ba9f13 (diff) |
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>
-rwxr-xr-x | scripts/package/mkdebian | 2 |
1 files changed, 2 insertions, 0 deletions
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) |