From patchwork Fri Jul 13 16:24:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olof Johansson X-Patchwork-Id: 10523811 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4291E602A0 for ; Fri, 13 Jul 2018 16:25:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 32133284CE for ; Fri, 13 Jul 2018 16:25:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2477128692; Fri, 13 Jul 2018 16:25:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BDD0D284CE for ; Fri, 13 Jul 2018 16:25:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729735AbeGMQkk (ORCPT ); Fri, 13 Jul 2018 12:40:40 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:38098 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387849AbeGMQkj (ORCPT ); Fri, 13 Jul 2018 12:40:39 -0400 Received: by mail-pf0-f194.google.com with SMTP id v15-v6so2911160pff.5 for ; Fri, 13 Jul 2018 09:25:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lixom-net.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Rm2yiY17vIRzStFCIsVLihDFgEjKxLfVJGn5PHG9JQ4=; b=Z+3gu1g+K+jkQ2DbFXuPnWrJgUckMBE7bQGYDCrnRgbS1NiDNZDFXA1CPfG+zMPhrJ v16yoU9sNd5bI5fX0NXE8X/PCguB/gVPcxsJ1Qc1JzvKhunlzYqvZ1EyWnRJ9d+W+ZbM 0ktsLEVA3hPb8mKku1MkCi1Y/cF7pKcyLXpI+7GHk5wyJzGd9bFv6g4yfWwqS9Lb21x5 SZ0b6ljOSUoFPJ5VdClS4/3m6HSk6HRmX2mFhKr5troF5XXZAdYr1Kbth4dmxQrIB/Bz 7VayalhRkEVO4eWKDqjUitWx3QPsa/u4hvcIKMPujBHivOoft6RRKorQUpsLP5TN1yjz G77w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Rm2yiY17vIRzStFCIsVLihDFgEjKxLfVJGn5PHG9JQ4=; b=tTY2uwAAiY75VQrpWuQ2X9H36iin+1i2j6J1XL6xjTghqtFtXO72Hbs5ob8eGKqAoS 13coHwioVmTNqlMG2sisZk2gRDSo+znjQpBOPMyQvV1vqiGGSbujT27UojQncOxh8HEL NlVht3nrZ/kXz9dyziIZ6dVyE4sg+VElfz0CFwp6RyiYNW4Vfgp4h48FBGzmrCpfdvfX 0GPQtTGxAb6cGSdkOqSBLe8yWmw4MIpj3eXQtocipcaZTFHjmc67oI7Y+kC5zFxjnn3S Kp8XjAZGDFSTp7xB8TpOhwR+S3ldey+KujhqABk/Xn5EwuTKgq5kbd8ZezwzcFoMrgjb kGgg== X-Gm-Message-State: AOUpUlE0a1Hb2jjNb9cVZqZQ1q4K50zAD+GPOQTb59fFoBC3iHrf8Bjp +U2ZYUwKr0svBfaMZ4pboxo+NQ== X-Google-Smtp-Source: AAOMgpdX41TVZPBfpJLHHp3iMKMCDoCqyXgca+8jvbU1mcPyqIrn8Gq7LAIclr0UJgmkS1CbQVrcOQ== X-Received: by 2002:a65:49c7:: with SMTP id t7-v6mr6798859pgs.23.1531499119239; Fri, 13 Jul 2018 09:25:19 -0700 (PDT) Received: from localhost.localdomain (99-152-116-91.lightspeed.sntcca.sbcglobal.net. [99.152.116.91]) by smtp.gmail.com with ESMTPSA id u2-v6sm38861447pfn.59.2018.07.13.09.25.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Jul 2018 09:25:17 -0700 (PDT) From: Olof Johansson To: Masahiro Yamada , Michal Marek Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Olof Johansson , Will Deacon , Catalin Marinas Subject: [PATCH 2/2] kbuild: buildtar: add arm64 support Date: Fri, 13 Jul 2018 09:24:58 -0700 Message-Id: <20180713162458.22154-2-olof@lixom.net> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180713162458.22154-1-olof@lixom.net> References: <20180713162458.22154-1-olof@lixom.net> Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Make 'make tar-pkg' work on arm64. Cc: Will Deacon Cc: Catalin Marinas Signed-off-by: Olof Johansson --- scripts/package/buildtar | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/package/buildtar b/scripts/package/buildtar index 55887ac84ee4..d624a07a4e77 100755 --- a/scripts/package/buildtar +++ b/scripts/package/buildtar @@ -105,6 +105,14 @@ case "${ARCH}" in cp -v -- "${objtree}/vmlinux" "${tmpdir}/boot/vmlinux-${KERNELRELEASE}" fi ;; + arm64) + for i in Image.bz2 Image.gz Image.lz4 Image.lzma Image.lzo ; do + if [ -f "${objtree}/arch/arm64/boot/${i}" ] ; then + cp -v -- "${objtree}/arch/arm64/boot/${i}" "${tmpdir}/boot/vmlinuz-${KERNELRELEASE}" + break + fi + done + ;; *) [ -f "${KBUILD_IMAGE}" ] && cp -v -- "${KBUILD_IMAGE}" "${tmpdir}/boot/vmlinux-kbuild-${KERNELRELEASE}" echo "" >&2