diff mbox

[v2,1/1] builddeb: add arm64 in the supported architectures

Message ID 1397307186-3977-2-git-send-email-fathi.boudra@linaro.org (mailing list archive)
State New, archived
Headers show

Commit Message

Fathi Boudra April 12, 2014, 12:53 p.m. UTC
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
---
 scripts/package/builddeb | 2 ++
 1 file changed, 2 insertions(+)

Comments

Ben Hutchings April 13, 2014, 1:26 p.m. UTC | #1
On Sat, 2014-04-12 at 15:53 +0300, Fathi Boudra wrote:
> Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>

Reviewed-by: Ben Hutchings <ben@decadent.org.uk>

> ---
>  scripts/package/builddeb | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/scripts/package/builddeb b/scripts/package/builddeb
> index f46e4dd..0bf29a6 100644
> --- a/scripts/package/builddeb
> +++ b/scripts/package/builddeb
> @@ -42,6 +42,8 @@ create_package() {
>  		debarch=hppa ;;
>  	mips*)
>  		debarch=mips$(grep -q CPU_LITTLE_ENDIAN=y $KCONFIG_CONFIG && echo el || true) ;;
> +	arm64)
> +		debarch=arm64 ;;
>  	arm*)
>  		debarch=arm$(grep -q CONFIG_AEABI=y $KCONFIG_CONFIG && echo el || true) ;;
>  	*)
Michal Marek April 24, 2014, 1:39 p.m. UTC | #2
On 2014-04-13 15:26, Ben Hutchings wrote:
> On Sat, 2014-04-12 at 15:53 +0300, Fathi Boudra wrote:
>> Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
> 
> Reviewed-by: Ben Hutchings <ben@decadent.org.uk>

Applied to kbuild.git#misc, thanks.

Michal

--
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
Ben Hutchings June 9, 2014, 12:15 a.m. UTC | #3
On Sun, 2014-04-13 at 14:26 +0100, Ben Hutchings wrote:
> On Sat, 2014-04-12 at 15:53 +0300, Fathi Boudra wrote:
> > Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
> 
> Reviewed-by: Ben Hutchings <ben@decadent.org.uk>
> 
> > ---
> >  scripts/package/builddeb | 2 ++
> >  1 file changed, 2 insertions(+)
> > 
> > diff --git a/scripts/package/builddeb b/scripts/package/builddeb
> > index f46e4dd..0bf29a6 100644
> > --- a/scripts/package/builddeb
> > +++ b/scripts/package/builddeb
> > @@ -42,6 +42,8 @@ create_package() {
> >  		debarch=hppa ;;
> >  	mips*)
> >  		debarch=mips$(grep -q CPU_LITTLE_ENDIAN=y $KCONFIG_CONFIG && echo el || true) ;;
> > +	arm64)

Now I'm not so sure.  As we are comparing with the 'machine' name
($UTS_MACHINE, not $ARCH or $SRCARCH), shouldn't this actually check for
aarch64?

Ben.

> > +		debarch=arm64 ;;
> >  	arm*)
> >  		debarch=arm$(grep -q CONFIG_AEABI=y $KCONFIG_CONFIG && echo el || true) ;;
> >  	*)
>
diff mbox

Patch

diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index f46e4dd..0bf29a6 100644
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -42,6 +42,8 @@  create_package() {
 		debarch=hppa ;;
 	mips*)
 		debarch=mips$(grep -q CPU_LITTLE_ENDIAN=y $KCONFIG_CONFIG && echo el || true) ;;
+	arm64)
+		debarch=arm64 ;;
 	arm*)
 		debarch=arm$(grep -q CONFIG_AEABI=y $KCONFIG_CONFIG && echo el || true) ;;
 	*)