kbuild: builddeb: Eliminate debian/arch use
authorBastian Germann <bage@linutronix.de>
Tue, 14 Mar 2023 00:40:22 +0000 (01:40 +0100)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 17 Apr 2023 02:03:56 +0000 (11:03 +0900)
commit491b146d4c13908a23436bd44dc1f01d1a0a99e6
treea18477e0118690a5e7de81035127a9892f397afa
parent79549da691edd4874c19d99c578a134471817c47
kbuild: builddeb: Eliminate debian/arch use

In the builddeb context, the DEB_HOST_ARCH environment variable is set
to the same value as debian/arch's content, so use the variable with
dpkg-architecture.

This is the last use of the debian/arch file during dpkg-buildpackage time.

Signed-off-by: Bastian Germann <bage@linutronix.de>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/package/builddeb