* [PATCH] kbuild: deb-pkg: add debarch for ARCH=loongarch64
@ 2025-02-24 18:26 WangYuli
2025-03-01 4:25 ` Nathan Chancellor
2025-03-03 6:20 ` Masahiro Yamada
0 siblings, 2 replies; 3+ messages in thread
From: WangYuli @ 2025-02-24 18:26 UTC (permalink / raw)
To: masahiroy, nathan, nicolas
Cc: linux-kbuild, linux-kernel, chenhuacai, kernel, revy, zhanjun,
niecheng1, guanwentao, chenlinxuan, WangYuli, Shiwei Liu
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>
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] kbuild: deb-pkg: add debarch for ARCH=loongarch64
2025-02-24 18:26 [PATCH] kbuild: deb-pkg: add debarch for ARCH=loongarch64 WangYuli
@ 2025-03-01 4:25 ` Nathan Chancellor
2025-03-03 6:20 ` Masahiro Yamada
1 sibling, 0 replies; 3+ messages in thread
From: Nathan Chancellor @ 2025-03-01 4:25 UTC (permalink / raw)
To: WangYuli
Cc: masahiroy, nicolas, linux-kbuild, linux-kernel, chenhuacai,
kernel, revy, zhanjun, niecheng1, guanwentao, chenlinxuan,
Shiwei Liu
On Tue, Feb 25, 2025 at 02:26:19AM +0800, WangYuli wrote:
> 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>
> ---
> 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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] kbuild: deb-pkg: add debarch for ARCH=loongarch64
2025-02-24 18:26 [PATCH] kbuild: deb-pkg: add debarch for ARCH=loongarch64 WangYuli
2025-03-01 4:25 ` Nathan Chancellor
@ 2025-03-03 6:20 ` Masahiro Yamada
1 sibling, 0 replies; 3+ messages in thread
From: Masahiro Yamada @ 2025-03-03 6:20 UTC (permalink / raw)
To: WangYuli
Cc: nathan, nicolas, linux-kbuild, linux-kernel, chenhuacai, kernel,
revy, zhanjun, niecheng1, guanwentao, chenlinxuan, Shiwei Liu
On Tue, Feb 25, 2025 at 3:43 AM WangYuli <wangyuli@uniontech.com> wrote:
>
> 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>
> ---
Applied to linux-kbuild.
Thanks.
> 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
>
--
Best Regards
Masahiro Yamada
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-03-03 6:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-24 18:26 [PATCH] kbuild: deb-pkg: add debarch for ARCH=loongarch64 WangYuli
2025-03-01 4:25 ` Nathan Chancellor
2025-03-03 6:20 ` Masahiro Yamada
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox