]> www.infradead.org Git - nvme.git/commit
kbuild: deb-pkg: add debarch for ARCH=um
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 3 Dec 2024 11:14:45 +0000 (20:14 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 21 Dec 2024 03:42:04 +0000 (12:42 +0900)
commita34e92d2e831729f0ed5df20d15b4df419cd0ba4
treec57e5569cea29f23f7d9066ab3195bde311c962b
parentd67393f4d28ef0544eaf382f1123dcaf56495dc9
kbuild: deb-pkg: add debarch for ARCH=um

'make ARCH=um bindeb-pkg' shows the following warning.

  $ make ARCH=um bindeb-pkg
     [snip]
    GEN     debian

  ** ** **  WARNING  ** ** **

  Your architecture doesn't have its equivalent
  Debian userspace architecture defined!
  Falling back to the current host architecture (amd64).
  Please add support for um to ./scripts/package/mkdebian ...

This commit hard-codes i386/amd64 because UML is only supported for x86.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
scripts/package/mkdebian