Re: [PATCH 1/1] builddeb: add arm64 in the supported architectures

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

 



On Fri, 2013-10-04 at 13:31 +0300, Fathi Boudra wrote:
> Signed-off-by: Fathi Boudra <fathi.boudra@xxxxxxxxxx>
> ---
>  scripts/package/builddeb | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/scripts/package/builddeb b/scripts/package/builddeb
> index 90e521f..f76be3a 100644
> --- a/scripts/package/builddeb
> +++ b/scripts/package/builddeb
> @@ -43,7 +43,11 @@ create_package() {
>  	mips*)
>  		debarch=mips$(grep -q CPU_LITTLE_ENDIAN=y $KCONFIG_CONFIG && echo el) ;;
>  	arm*)
> -		debarch=arm$(grep -q CONFIG_AEABI=y $KCONFIG_CONFIG && echo el) ;;
> +		if grep -q '^CONFIG_ARM64=y' $KCONFIG_CONFIG ; then
> +			debarch=arm64
> +		else
> +			debarch=arm$(grep -q CONFIG_AEABI=y $KCONFIG_CONFIG && echo el)
> +		fi ;;
>  	*)
>  		echo "" >&2
>  		echo "** ** **  WARNING  ** ** **" >&2

As arm64 is a separate architecture in terms of kernel source, I think
it would make more sense to add an arm64 case above the arm* case.

Ben.

-- 
Ben Hutchings
Who are all these weirdos? - David Bowie, reading IRC for the first time

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux