Skip to content

Commit 152b695

Browse files
kilobyteMichal Marek
authored andcommitted
builddeb: fix cross-building to arm64 producing host-arch debs
Both Debian and kernel archs are "arm64" but UTS_MACHINE and gcc say "aarch64". Recognizing just the latter should be enough but let's accept both in case something regresses again or an user sets UTS_MACHINE=arm64. Regressed in cfa88c7: arm64: Set UTS_MACHINE in the Makefile. Signed-off-by: Adam Borowski <kilobyte@angband.pl> Acked-by: Riku Voipio <riku.voipio@linaro.org> Signed-off-by: Michal Marek <mmarek@suse.com>
1 parent c6a3855 commit 152b695

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎scripts/package/builddeb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ set_debarch() {
5151
debarch=hppa ;;
5252
mips*)
5353
debarch=mips$(grep -q CPU_LITTLE_ENDIAN=y $KCONFIG_CONFIG && echo el || true) ;;
54-
arm64)
54+
aarch64|arm64)
5555
debarch=arm64 ;;
5656
arm*)
5757
if grep -q CONFIG_AEABI=y $KCONFIG_CONFIG; then

0 commit comments

Comments
 (0)