From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from tartarus.angband.pl ([89.206.35.136]:48890 "EHLO tartarus.angband.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760918AbcLRNUR (ORCPT ); Sun, 18 Dec 2016 08:20:17 -0500 Received: from kilobyte by tartarus.angband.pl with local (Exim 4.84_2) (envelope-from ) id 1cIbNp-0000SG-OK for stable@vger.kernel.org; Sun, 18 Dec 2016 14:20:09 +0100 Date: Sun, 18 Dec 2016 14:20:09 +0100 From: Adam Borowski To: stable@vger.kernel.org Subject: [CHERRY-PICK 4.9] builddeb: fix cross-building to arm64 producing host-arch debs Message-ID: <20161218132009.GA23607@angband.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: stable-owner@vger.kernel.org List-ID: Hi! Please pick 152b695d for 4.9 (only), it fixes cross-compilation to arm64. It was reported on Nov 04, acked on Nov 10, accepted into kbuild/rc-fixes on Nov 24 but somehow not pushed to Linus; it got into mainline only during the merge window. As 4.9 is to be used in Debian stretch, {bin,}deb-pkg is going to see quite a lot of use, especially that kernel-package is mostly kaputt. Paraphrased diff: +++ scripts/package/builddeb case "$UTS_MACHINE" in [...] - arm64) + aarch64|arm64) (Only "aarch64" being actually needed, "arm64" is left as defense in case this flips again.) Meow! -- Autotools hint: to do a zx-spectrum build on a pdp11 host, type: ./configure --host=zx-spectrum --build=pdp11