Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp3392868ybx; Sun, 3 Nov 2019 17:53:23 -0800 (PST) X-Google-Smtp-Source: APXvYqzgMkCxMP9NAYvXmfcXF1eYa7v4WPexyUj5o3Fev9Tt4oRAa+9+q9frq8A2UsL3No29YbBR X-Received: by 2002:aa7:db09:: with SMTP id t9mr3503091eds.171.1572832403365; Sun, 03 Nov 2019 17:53:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572832403; cv=none; d=google.com; s=arc-20160816; b=veNpy5SW6Bo4iITCTtEt601xfqjLTStL1NPMO1h2W7cxHEQ7E//RTtNr8y3QmiRLab U/sATOxgQ/L1zlqBtOPXgFHwzb1d/lxC0yllMK9NqtvQf7zpaNF9Qnemy+1aNPdfIzn/ 3KgNoLU8QMguw1T0P4eVEnAsPpdU4hkyqhsuvRdEvWmImIdJ8XAinJjvwB2MeIgtZDeQ zf34UK0BlA154pf2tZnnzKsiIAw/qxhlSQhT5BTzbTmC983uqAKWjxAx6X4uy/nb2W/Q uL20DsICv4ADBtYYsoXPZA2E5cJHCEt3naGMNEcJgmJTIeuGQVOByVrPdHhsFXzHaBeT 1xVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature:dkim-filter; bh=1jJG3p1GAqefzP7l/Yb2jRBhI70WeehHAYn/NfnOFW0=; b=RtBYv91XxqNplJ6XKNhMbKTQpUfG7ZQBOPC92gmA/4EXWtuC+naYnDDGwSrTM9GrL9 XyJ+R3gYmhWG6QCLwK6urzrIa9oYHFdSW1FMiqXnfo2Y6oYSisWAyfdV22gRzMzUK6I7 bLGxrC+mZxvBIy4+HyWqjAQBoYBhYdrwhBNM/AIeL44DJavsvaJRefIycou9Ay8jg3j5 d42Tcngpqd82qhoYEL188y46bOMAQqVFqvIRV/kXJD0LqlENHS758YRnmKKlGwEnoaD/ jfMVOts925ma6XJyOuOEzzbTTZ91UWQ+fzkElvfScZPm4Bly+by9WgGnmeErdj13UxM7 o/wQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=IYMvvM7i; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id oz10si4276507ejb.163.2019.11.03.17.53.00; Sun, 03 Nov 2019 17:53:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=IYMvvM7i; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729054AbfKDBwU (ORCPT + 99 others); Sun, 3 Nov 2019 20:52:20 -0500 Received: from conssluserg-01.nifty.com ([210.131.2.80]:19777 "EHLO conssluserg-01.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728288AbfKDBwU (ORCPT ); Sun, 3 Nov 2019 20:52:20 -0500 Received: from mail-vs1-f54.google.com (mail-vs1-f54.google.com [209.85.217.54]) (authenticated) by conssluserg-01.nifty.com with ESMTP id xA41qFbd025581; Mon, 4 Nov 2019 10:52:16 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com xA41qFbd025581 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1572832336; bh=1jJG3p1GAqefzP7l/Yb2jRBhI70WeehHAYn/NfnOFW0=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=IYMvvM7iG9qRgx96sB+hOdQSgcO/lL30NssppM9FcKFoohOvFCTJwErvE9Y1GEud3 mohYLK0FBl+fkDwvG83/IjDk+d0u25OW8YZBI6e2NoViWPLAf/UEJFR6l3VZB37KRk 0sCDuKDJXHNC/q9Qau6NMBYmz/dbCtloCsChUCRtjzlgeMr60V38vS46CRMNgVHwmV x7BUgpA845elOlvasVTalz0QvaGXU1FNKV0+v6CZ5MZ0hINE+MgXYD/z8ZMhZyzbfs pEouanb6zUDxGMyDaB2qfmXTTpTvyZFekQ/VHfB/iSA/Ywg3wDy8/SQwF28e6rlhM2 GFwYeuuqCHY+A== X-Nifty-SrcIP: [209.85.217.54] Received: by mail-vs1-f54.google.com with SMTP id q21so10025455vsg.3; Sun, 03 Nov 2019 17:52:15 -0800 (PST) X-Gm-Message-State: APjAAAVnLs/LhZU80Xn5BPQSJMVMSiMiDyCuoLWp3sI8b+FMyklXfRdO 6KZrHurwUSnAr8Tm8EvqumtFi7H7YMCJZJSgYoc= X-Received: by 2002:a05:6102:3204:: with SMTP id r4mr11385023vsf.181.1572832334912; Sun, 03 Nov 2019 17:52:14 -0800 (PST) MIME-Version: 1.0 References: <20191009151019.13488-1-mcroce@redhat.com> In-Reply-To: From: Masahiro Yamada Date: Mon, 4 Nov 2019 10:51:39 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] kbuild: Add make dir-pkg build option To: Matteo Croce Cc: Linux Kbuild mailing list , Michal Marek , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 4, 2019 at 12:11 AM Matteo Croce wrote: > > On Wed, Oct 9, 2019 at 5:10 PM Matteo Croce wrote: > > > > Add a 'dir-pkg' target which just creates the same directory structures > > as in tar-pkg, but doesn't package anything. > > Useful when the user wants to copy the kernel tree on a machine using > > ssh, rsync or whatever. > > > > Signed-off-by: Matteo Croce > > Hi, > > any comment on this? > Sorry for the late reply. One nit. > @@ -133,6 +133,11 @@ if tar --owner=root --group=root --help >/dev/null 2>&1; then > opts="$opts --owner=root --group=root" > fi > > +if [ "${1}" = dir-pkg ]; then > + echo "Kernel tree successfully created in $tmpdir" > + exit 0 > +fi > + The 'opts' assignment is unneeded for dir-pkg. You can exit before the "# Create the tarball" comment line. -- Best Regards Masahiro Yamada