* [PATCH ping] builddeb: fix cross-building to arm64 producing host-arch debs
@ 2016-11-24 1:27 Adam Borowski
2016-11-25 11:36 ` Riku Voipio
0 siblings, 1 reply; 3+ messages in thread
From: Adam Borowski @ 2016-11-24 1:27 UTC (permalink / raw)
To: Michal Marek, linux-kbuild; +Cc: Adam Borowski
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>
---
As 4.9 is not only a LTS, but also the kernel Debian stretch will use,
fixing this regression would be really nice.
scripts/package/builddeb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index 8ea9fd2..3c575cd0 100755
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -51,7 +51,7 @@ set_debarch() {
debarch=hppa ;;
mips*)
debarch=mips$(grep -q CPU_LITTLE_ENDIAN=y $KCONFIG_CONFIG && echo el || true) ;;
- arm64)
+ aarch64|arm64)
debarch=arm64 ;;
arm*)
if grep -q CONFIG_AEABI=y $KCONFIG_CONFIG; then
--
2.10.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH ping] builddeb: fix cross-building to arm64 producing host-arch debs
2016-11-24 1:27 [PATCH ping] builddeb: fix cross-building to arm64 producing host-arch debs Adam Borowski
@ 2016-11-25 11:36 ` Riku Voipio
2016-11-25 14:44 ` Michal Marek
0 siblings, 1 reply; 3+ messages in thread
From: Riku Voipio @ 2016-11-25 11:36 UTC (permalink / raw)
To: Adam Borowski; +Cc: Michal Marek, linux-kbuild
On 24 November 2016 at 03:27, Adam Borowski <kilobyte@angband.pl> wrote:
> 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>
> ---
> As 4.9 is not only a LTS, but also the kernel Debian stretch will use,
> fixing this regression would be really nice.
Yes, this would be really appreciated.
Riku
> scripts/package/builddeb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/package/builddeb b/scripts/package/builddeb
> index 8ea9fd2..3c575cd0 100755
> --- a/scripts/package/builddeb
> +++ b/scripts/package/builddeb
> @@ -51,7 +51,7 @@ set_debarch() {
> debarch=hppa ;;
> mips*)
> debarch=mips$(grep -q CPU_LITTLE_ENDIAN=y $KCONFIG_CONFIG && echo el || true) ;;
> - arm64)
> + aarch64|arm64)
> debarch=arm64 ;;
> arm*)
> if grep -q CONFIG_AEABI=y $KCONFIG_CONFIG; then
> --
> 2.10.2
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH ping] builddeb: fix cross-building to arm64 producing host-arch debs
2016-11-25 11:36 ` Riku Voipio
@ 2016-11-25 14:44 ` Michal Marek
0 siblings, 0 replies; 3+ messages in thread
From: Michal Marek @ 2016-11-25 14:44 UTC (permalink / raw)
To: Riku Voipio; +Cc: Adam Borowski, linux-kbuild
On Fri, Nov 25, 2016 at 01:36:21PM +0200, Riku Voipio wrote:
> On 24 November 2016 at 03:27, Adam Borowski <kilobyte@angband.pl> wrote:
> > 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>
> > ---
> > As 4.9 is not only a LTS, but also the kernel Debian stretch will use,
> > fixing this regression would be really nice.
>
> Yes, this would be really appreciated.
This is in kbuild.git#rc-fixes now.
Thanks,
Michal
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-11-25 14:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-24 1:27 [PATCH ping] builddeb: fix cross-building to arm64 producing host-arch debs Adam Borowski
2016-11-25 11:36 ` Riku Voipio
2016-11-25 14:44 ` Michal Marek
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.