From patchwork Thu May 12 09:03:57 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Huang Shijie X-Patchwork-Id: 9078181 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 83A9DBF29F for ; Thu, 12 May 2016 09:07:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A6D5F201F4 for ; Thu, 12 May 2016 09:07:13 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 30CD0201E4 for ; Thu, 12 May 2016 09:07:08 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1b0mYr-00052i-6w; Thu, 12 May 2016 09:05:37 +0000 Received: from eu-smtp-delivery-143.mimecast.com ([207.82.80.143]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1b0mYo-0004sx-Nz for linux-arm-kernel@lists.infradead.org; Thu, 12 May 2016 09:05:35 +0000 Received: from emea01-db3-obe.outbound.protection.outlook.com (mail-db3lrp0078.outbound.protection.outlook.com [213.199.154.78]) (Using TLS) by eu-smtp-1.mimecast.com with ESMTP id uk-mta-38-ZtWocpe-RwyCdS7LBB-CNw-1; Thu, 12 May 2016 10:05:04 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=FZgbtCkvxJX3t2iiZMV4BQvXRt+OQl/EMlzjWgWsXZg=; b=bqhfkIYL7TVucj4U3NX5JQHG8bMTG7NscTd0cKJrcetAVjCc+8mGbj/N0VAzZGx9xuP/mDbzTlOWCKsnC69zVN/WBDr80nfjqPrERLV3/6zYSXYVHT/Hcjg9iNtZdSy/1X/YGgRrVtVo2IPbgpu+gx0ECRYYZn7aYyg6AtGAnSY= Received: from HE1PR0801CA0033.eurprd08.prod.outlook.com (10.167.184.43) by HE1PR08MB0812.eurprd08.prod.outlook.com (10.164.52.158) with Microsoft SMTP Server (TLS) id 15.1.492.11; Thu, 12 May 2016 09:05:02 +0000 Received: from AM1FFO11FD007.protection.gbl (2a01:111:f400:7e00::162) by HE1PR0801CA0033.outlook.office365.com (2603:10a6:3:6::43) with Microsoft SMTP Server (TLS) id 15.1.497.12 via Frontend Transport; Thu, 12 May 2016 09:05:02 +0000 Received: from nebula.arm.com (217.140.96.140) by AM1FFO11FD007.mail.protection.outlook.com (10.174.64.69) with Microsoft SMTP Server (TLS) id 15.1.492.8 via Frontend Transport; Thu, 12 May 2016 09:05:02 +0000 Received: from ent-kernel-softiron-01.asiapac.arm.com (10.1.2.79) by mail.arm.com (10.1.106.66) with Microsoft SMTP Server id 14.3.279.2; Thu, 12 May 2016 10:04:07 +0100 From: Huang Shijie To: Subject: [PATCH] deb-pkg: add the shared header file for arm64 Date: Thu, 12 May 2016 17:03:57 +0800 Message-ID: <1463043837-4348-1-git-send-email-shijie.huang@arm.com> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:217.140.96.140; IPV:CAL; SCL:-1; CTRY:GB; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(438002)(189002)(199003)(110136002)(5003600100002)(104016004)(189998001)(575784001)(50986999)(86362001)(6806005)(87936001)(5003940100001)(8936002)(48376002)(92566002)(50466002)(11100500001)(586003)(50226002)(77096005)(2351001)(229853001)(1220700001)(2906002)(5008740100001)(36756003)(33646002)(19580405001)(19580395003)(4326007)(47776003)(106466001); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR08MB0812; H:nebula.arm.com; FPR:; SPF:Pass; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; AM1FFO11FD007; 1:0G8mN3bZe2HIOI70DSo/55vS7GcoUCtpj3NBteCU1T3pXZoXsHcfUj60sMc/N+ApIHcgK0akZjplwDcC0IB3gQzfXVeaZ/Wp4jxztRhxd5Mg2BZII4rD7TvDEQASAq6acGL8laefBZCfAZfFKAH8IuR3B8QCrQTXPaiZ/GzPsakSO00N+74V5y/7p4gePQ5U0jJiZlmL+CYpe/EBuJKwYIFYy12lt3dULhP2GqpAUF/vdcTMkcXgcR1Bl2Xn2vbdtkGNPlTjH/jQT3jOl1+w0MqEG1CShGa9Q4Zgfp/AmvwF5eceBD1+HjDDZ+TwNlIVSN6babn+ZHtVd35Pp3kV08ewvphX226zFwExyKskTuRXAJq8hlLmQd1l6ybT6N/lQ2YM7hGnfpgWiHcU8H4gS2oGK+9JebG6uo846gMX3WVif/2F+R6Jh/hdAgV5SK1p7wloplwco5O747y54QtqWZf4HGlOc0QitxQg75OmrGrjoXQWcl+yklcXa+4cB3o7+mAyb/fBG+fBmCN/aSLAc71o55KV9cF2d+xFdkasWkHuplSpNf3vRe97mOqw9Hh1 X-MS-Office365-Filtering-Correlation-Id: 342a4499-b59a-4e0c-c8ae-08d37a4480e2 X-Microsoft-Exchange-Diagnostics: 1; HE1PR08MB0812; 2:2sl88M7LoPr4tYWe2DXUvEnjIKA6qhFwWHUpTDJRHS15g0fJ2Q9pJyl8KTEFEgObv4Ng488fAcHFuW1bsN//phQmhv2wsOLNlguSt1FDqQphH4RuxIR3n1PUxXEB2gat82qLgHQVFwOBu9J+sKNThuGYEbRLkdD1xCB63Z1vIP8yRzXFNK/eNPSC5GD3iT40; 3:dimpLPxo/Y5ZnRd4nrDbX6WTe7JcDomUzhtijDyBQ+difBfDnh6tiqqbO/0dh8JilSPkfaHYZAupesijcinrI6499/pq2zj5YsliVLuQhEGf2l9ahFGg5JnM0z9+gcftfu4XivyJAJzXi2Be8cvIX7O00nQeKnuSXBhxYYJViK/lqCXXQKQwjNjsgD1vxlhPVpucq8XJAliyu2M6GR+ai927asFDemImRZjpiHT4LQBVA00xL7J1D8FrW5E6iHWHwpwdjZeng9FQVjeJUTMIqw==; 25:BHdYnMeFUd4mdSMh4KGua+4pLrZB9BbY/pFcAuDws4Yxf9gb0T2GCOd5XKIUYgeGhMf1QRYPTj/C593URFaXMh6v45y+DccWaKzy4ksa1JJy1DlN1m2SYhgpPTebzG4RMouhBYPmaysR32rC88yhKybnHl0h+1wrv8+2bZJO6uvwgSrUnxV18hDAYUHJ0l6ABN7huTABtodBD8QBycit1DU/ws9s1+xEoVFosP+r1D7KGFf4YVMCObQlpXkXANlZQYoqR76S3jHuvBVjeHpJXSWUF+bSJNTS/zhxNlYQSmK6QeYc6nfzPItXBehBkANr9tk6UYzTpWl1q7BCTHKg7o6K2G/RlQhuU7bUUFPnWfBwgpyttM9IEPGEMmEBKkvu2+1zvacjNMr7QtIij3jGsuHNf1J1RoVFzVSqzkXmjEc= X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(8251501002); SRVR:HE1PR08MB0812; NoDisclaimer: True X-Microsoft-Exchange-Diagnostics: 1; HE1PR08MB0812; 20:KTqSz37ArpLcLqatiRU/oPVQeWSTqjMqlBd48PLh9pgk0TfJ4/Ie1EGoL+M7qMYeYkoCQ6mdHj1dnUQzSZEhjUd1dsxSCvVp8eH65J4qtMqgBsnwH4ndYMzDyJFV3PRwLcWy4eTHhAXliO5emVmB0CF1oiYAc02Xmr1J5w+9tFdNmBDZKf2yG+X+kD/p7rKYd0Whrg0yfFSv5pSdizOGIqDluZkMm7QnscOZVncLE5elNv0dUrT8fyL7Yydj849Z; 4:DOc2UYGgLN7D4BKpoe98UgIYFtv564C7z1QReZf6mHVOZKeSteX1rK7QvhtJSi+G+yZFrRWZmjvFWUW/ezY3fOUD78TQQ+v6Xl2yTxN5YYY4rQStqT2nHis7NpmP5sbSmUjylXQ3YZvL42diuIxx9FTCG/Lww/o0sVihnJSBD+sz5iZ3GRfkp48B4Gx7PrJr6BbrvSJ3d/1AZ2EmuUqlVSruEx4sZ9df0ZerdaNRd8T2YMyeFUgH0T5LxNUKrcfhcQHAYWBBayl1x7k5SvJnW50MzH/yUoUjFEPukgg2lgNCTmPC75FDY+BppAdKo+xeCmDnGB6lC2cmeLXsyWi1p6QBfGH/ttng4n2RRniEuLmvocVivZXB5IYEQVO3j1b3tdEbQq7Xrqr/2VRuaSaqSYsS18GbgEKW+yb5qlaQzLuzuLCop/Je28KZCUG7iluYXd2UunYfzHYm7vFB8+cYKw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13013025)(5005006)(8121501046)(13020025)(13023025)(13024025)(3002001)(10201501046)(6055026); SRVR:HE1PR08MB0812; BCL:0; PCL:0; RULEID:; SRVR:HE1PR08MB0812; X-Forefront-PRVS: 0940A19703 X-Microsoft-Exchange-Diagnostics: 1; HE1PR08MB0812; 23:q8dCeHXM9D5RsKNAK5F4f1MCH5Ip/H8vxa9JA1uV32Y9/+vRgbFyK7S1Kzc15vtnDod3MLmRqegfW6I0/ft1KkqC4Yx6ZG86bM91pbj4UrIcmH2Bdp7wh1m4/JMd9S/S/+gcy+Kif5VYe/I66gz9wJcgtoJvnIwSs2OgKqEYAbcpr3V9YCMBUaEQ+eAjJGkClvkhsabOL5Rezw2jyuq21nfUsA9agc14IGPXnm1dlLD1o/RMW7zIspaJMyjc01Nj38c/us55oEr1DN+2GKOwY5g0I+OZQx8s+1Eaj5p6oayggm2xH0JCZgChLizzYo3hnrGYzTtnoV/DivvEzynb8ChKqri4zu7p7HUKt0Ql8+1sISLmDCbkSdU52LpN0WrPvgOgzp5B3JSYw0xPfIpakIDeLCEUWh0tWZGk66ED4J9HZ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CMAZ9FupDhxjCqR6GRN8lvNCttyVKSy9Obp6U+0hcOqztxylXNWQC9GGoXW/FToUL1C0wMFUQc8y5bqnHxOWUJi0a3LXlGlGc4k0HZP8Lp3FRmwvCxW4Yy5TaW3jDgDEwsQWfRvMndE= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 May 2016 09:05:02.3870 (UTC) X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[217.140.96.140]; Helo=[nebula.arm.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR08MB0812 X-MC-Unique: ZtWocpe-RwyCdS7LBB-CNw-1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160512_020535_130382_E0EF26B6 X-CRM114-Status: UNSURE ( 6.55 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -4.1 (----) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: steve.capper@arm.com, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Huang Shijie , nd@arm.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable 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 The arch/arm/include/asm/opcodes.h is also used by the arm64. This patch copies it to the arm64 deb package. Signed-off-by: Huang Shijie --- scripts/package/builddeb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/package/builddeb b/scripts/package/builddeb index 6c3b038..f4de0d7 100755 --- a/scripts/package/builddeb +++ b/scripts/package/builddeb @@ -323,6 +323,12 @@ fi # Build kernel header package (cd $srctree; find . -name Makefile\* -o -name Kconfig\* -o -name \*.pl) > "$objtree/debian/hdrsrcfiles" (cd $srctree; find arch/$SRCARCH/include include scripts -type f) >> "$objtree/debian/hdrsrcfiles" + +if [ "$ARCH" = "arm64" ]; then + # The arm64 shares the same header file with the arm + (cd $srctree; echo arch/arm/include/asm/opcodes.h) >> "$objtree/debian/hdrsrcfiles" +fi + (cd $srctree; find arch/$SRCARCH -name module.lds -o -name Kbuild.platforms -o -name Platform) >> "$objtree/debian/hdrsrcfiles" (cd $srctree; find $(find arch/$SRCARCH -name include -o -name scripts -type d) -type f) >> "$objtree/debian/hdrsrcfiles" (cd $objtree; find arch/$SRCARCH/include Module.symvers include scripts -type f) >> "$objtree/debian/hdrobjfiles"