From patchwork Fri Oct 4 10:31:51 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fathi Boudra X-Patchwork-Id: 2987971 Return-Path: X-Original-To: patchwork-linux-kbuild@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 77FE39F245 for ; Fri, 4 Oct 2013 10:35:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6306F202B4 for ; Fri, 4 Oct 2013 10:35:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 54C0E2015A for ; Fri, 4 Oct 2013 10:35:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754479Ab3JDKcH (ORCPT ); Fri, 4 Oct 2013 06:32:07 -0400 Received: from mail-la0-f46.google.com ([209.85.215.46]:53462 "EHLO mail-la0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754447Ab3JDKcD (ORCPT ); Fri, 4 Oct 2013 06:32:03 -0400 Received: by mail-la0-f46.google.com with SMTP id eh20so3047737lab.33 for ; Fri, 04 Oct 2013 03:32:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=cOU7Ey3BB2LuxV6s4e1ozMwH1MDANR5uwI0xLPYSkAM=; b=QaTvgaxbkVWf0vI5n2ZjJ8kaNb3tY2/U2tUN9ZceTjJ2gvDymPH/mQ35bnPfb/+Evt G2qcPVfwpgyPR0og6HbCeyx8pUtRaQ6igHu/9RpG8QfKbYtFhtBH4kYXKM1UsLApZ/Q+ g0ttYxDyOYBoGw2SUb8hB3iKtvdZWKG8Zgd5+pSPS3IfkgxQEyoGNL1KQwDhVnC+Q47z RXuNbE2rmE5Ey6kExeKJoHugbJ2zVi6K7zTpj6fwVcCzb+buRsLvFPZkRCx/Mzs6nT+A yrMemx13mOiOnBjJ7ZK8FM7dWdXmxMimg4X9XxJhTMYc1Aj2UItBW+xfTzQEr40QllQH D0EA== X-Gm-Message-State: ALoCoQkaXKieth92I0H+0mH0c1JtnTZ8IXbU8D/PrDE3c919mANyUjnShgxCFZwoThZmrqbRhEnY X-Received: by 10.112.9.195 with SMTP id c3mr1365529lbb.33.1380882721614; Fri, 04 Oct 2013 03:32:01 -0700 (PDT) Received: from localhost.localdomain (a91-152-78-194.elisa-laajakaista.fi. [91.152.78.194]) by mx.google.com with ESMTPSA id ua4sm8338370lbb.17.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 04 Oct 2013 03:32:01 -0700 (PDT) From: Fathi Boudra To: linux-kbuild Cc: Ben Hutchings , maximilian attems , Michal Marek , Fathi Boudra Subject: [PATCH 1/1] builddeb: add arm64 in the supported architectures Date: Fri, 4 Oct 2013 13:31:51 +0300 Message-Id: <1380882711-31929-1-git-send-email-fathi.boudra@linaro.org> X-Mailer: git-send-email 1.8.1.2 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Fathi Boudra --- 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