[CHERRY-PICK 4.9] builddeb: fix cross-building to arm64 producing host-arch debs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]