From: Gabriel Paubert <paubert@iram.es>
To: Michael Neuling <mikey@neuling.org>
Cc: Michal Marek <mmarek@suse.cz>,
Ben Hutchings <ben@decadent.org.uk>,
Leann Ogasawara <leann.ogasawara@canonical.com>,
linuxppc-dev <linuxppc-dev@lists.ozlabs.org>,
linux-kernel <linux-kernel@vger.kernel.org>,
Anton Blanchard <anton@samba.org>,
linux-kbuild@vger.kernel.org
Subject: Re: deb-pkg: Add support for powerpc little endian
Date: Fri, 5 Sep 2014 09:13:44 +0200 [thread overview]
Message-ID: <20140905071344.GA16024@visitor2.iram.es> (raw)
In-Reply-To: <1409894927.11359.26.camel@ale.ozlabs.ibm.com>
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?
> 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@neuling.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*)
Gabriel
next prev parent reply other threads:[~2014-09-05 7:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-05 5:28 Michael Neuling
2014-09-05 7:13 ` Gabriel Paubert [this message]
2014-09-05 7:55 ` [PATCH v2] " Michael Neuling
2014-09-05 12:09 ` Thadeu Lima de Souza Cascardo
2014-09-07 2:42 ` Ben Hutchings
2014-09-12 14:12 ` Michal Marek
2014-09-05 12:14 ` Josh Boyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140905071344.GA16024@visitor2.iram.es \
--to=paubert@iram.es \
--cc=anton@samba.org \
--cc=ben@decadent.org.uk \
--cc=leann.ogasawara@canonical.com \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mikey@neuling.org \
--cc=mmarek@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®