[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140905120925.GB3846@oc0268524204.ibm.com>
Date: Fri, 5 Sep 2014 09:09:25 -0300
From: Thadeu Lima de Souza Cascardo <cascardo@...ux.vnet.ibm.com>
To: Michael Neuling <mikey@...ling.org>
Cc: Gabriel Paubert <paubert@...m.es>, Michal Marek <mmarek@...e.cz>,
linux-kbuild@...r.kernel.org, Ben Hutchings <ben@...adent.org.uk>,
linux-kernel <linux-kernel@...r.kernel.org>,
Anton Blanchard <anton@...ba.org>,
Leann Ogasawara <leann.ogasawara@...onical.com>,
linuxppc-dev <linuxppc-dev@...ts.ozlabs.org>
Subject: Re: [PATCH v2] deb-pkg: Add support for powerpc little endian
On Fri, Sep 05, 2014 at 05:55:18PM +1000, Michael Neuling wrote:
> On Fri, 2014-09-05 at 09:13 +0200, Gabriel Paubert wrote:
> > On Fri, Sep 05, 2014 at 03:28:47PM +1000, Michael Neuling wrote:
> > > The Debian powerpc little endian architecture is called ppc64le. This
> >
> > Huh? ppc64le or ppc64el?
>
> ppc64el. Commit message is wrong. Fixed below.
>
> Mikey
>
>
What about ppc64?
Also, I sent that already a month ago. Both linuxppc-dev and Michal
Marek were on cc.
http://marc.info/?l=linux-kernel&m=140744360328562&w=2
Cascardo.
> From: Michael Neuling <mikey@...ling.org>
>
> deb-pkg: Add support for powerpc little endian
>
> The Debian powerpc little endian architecture is called ppc64el. This
> is the default architecture used by Ubuntu for powerpc.
>
> The below checks the kernel config to see if we are compiling little
> endian and sets the Debian arch appropriately.
>
> Signed-off-by: Michael Neuling <mikey@...ling.org>
>
> diff --git a/scripts/package/builddeb b/scripts/package/builddeb
> index 35d5a58..6f4a1af 100644
> --- a/scripts/package/builddeb
> +++ b/scripts/package/builddeb
> @@ -37,7 +37,7 @@ create_package() {
> s390*)
> debarch=s390$(grep -q CONFIG_64BIT=y $KCONFIG_CONFIG && echo x || true) ;;
> ppc*)
> - debarch=powerpc ;;
> + debarch=$(grep -q CPU_LITTLE_ENDIAN=y $KCONFIG_CONFIG && echo ppc64el || echo powerpc) ;;
> parisc*)
> debarch=hppa ;;
> mips*)
>
>
>
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@...ts.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists