From patchwork Wed Mar 6 08:05:47 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Borislav Petkov X-Patchwork-Id: 2223911 Return-Path: X-Original-To: patchwork-linux-kbuild@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 4AA5B3FC8A for ; Wed, 6 Mar 2013 08:05:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753337Ab3CFIFw (ORCPT ); Wed, 6 Mar 2013 03:05:52 -0500 Received: from mail.skyhub.de ([78.46.96.112]:42478 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752816Ab3CFIFw (ORCPT ); Wed, 6 Mar 2013 03:05:52 -0500 X-Virus-Scanned: Nedap ESD1 at mail.skyhub.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alien8.de; s=alien8; t=1362557151; bh=O/VJpHJYG1HoTQ2Tw3SY3m84EZke1F0/g4I6nZwRCvc=; h=From:To:Cc:Subject:Date:Message-Id; b=XVN7gldowt3v9titIcr7LAAdbIt nKmRWVK8GPn+GOXBS0FAE4jkXZztLDXTKy3F3jfJJ02yHP0MvZgqGbgJX8ugxYy23Ye C8fbQdwIZCLcjIGCo8xpdxTUUohwkRC0f5dYRiOK1tR6xImqAAJejSghiTTK4nUrUEm jiS8CN1kdo= Received: from mail.skyhub.de ([127.0.0.1]) by localhost (door.skyhub.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id JFBd5RP1Xekl; Wed, 6 Mar 2013 09:05:50 +0100 (CET) Received: from liondog.tnic (p54B7FEB1.dip.t-dialin.net [84.183.254.177]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id BCB371D9CF4; Wed, 6 Mar 2013 09:05:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alien8.de; s=alien8; t=1362557150; bh=O/VJpHJYG1HoTQ2Tw3SY3m84EZke1F0/g4I6nZwRCvc=; h=From:To:Cc:Subject:Date:Message-Id; b=LIfzVDqlYkZjB8CMWNsTEiGo7A1 CCsgvpQpd+U0grUA0aAKbZPCGuH6PbLA+tLRvVCaHqYp3M+XyAUk4GzCUFzJaUzVVIi 32ZtCIwL5/8xRnSNutS7YSDj3CeSaBPfsOsxYSgG7jZicQWxnoN9I9zfgT5aM2lWqb3 W3mVYp4tP4= Received: by liondog.tnic (Postfix, from userid 1000) id 4945C1008CE; Wed, 6 Mar 2013 09:05:48 +0100 (CET) From: Borislav Petkov To: Michal Marek Cc: linux-kbuild@vger.kernel.org, LKML , Borislav Petkov Subject: [PATCH] buildtar: Add ARCH to the archive name Date: Wed, 6 Mar 2013 09:05:47 +0100 Message-Id: <1362557147-14393-1-git-send-email-bp@alien8.de> X-Mailer: git-send-email 1.8.1.3.535.ga923c31 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org From: Borislav Petkov When dealing with multiple sub-arches (like 32- and 64-bit on x86, for example) generating a bunch of kernel tar archives with the same name but for different sub-arches could get confusing and error-prone. Also, the build process could overwrite otherwise unrelated builds and you probably don't want that. So, add the architecture to the archive name for more clarity and less shoot-yourself-in-the-foot practices. Signed-off-by: Borislav Petkov --- scripts/package/buildtar | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/package/buildtar b/scripts/package/buildtar index 62d8234f8787..cdd9bb909bcd 100644 --- a/scripts/package/buildtar +++ b/scripts/package/buildtar @@ -16,7 +16,7 @@ set -e # Some variables and settings used throughout the script # tmpdir="${objtree}/tar-install" -tarball="${objtree}/linux-${KERNELRELEASE}.tar" +tarball="${objtree}/linux-${KERNELRELEASE}-${ARCH}.tar" #