Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp331814ybt; Fri, 26 Jun 2020 00:05:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyDiTMAcblHtawYTyueJXZdRbsxPS/Iinjb/kdZEB4G4b68GWazeSD2Yh+38wKoSOeP/aJo X-Received: by 2002:a05:6402:337:: with SMTP id q23mr1972686edw.63.1593155135990; Fri, 26 Jun 2020 00:05:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593155135; cv=none; d=google.com; s=arc-20160816; b=xYwcqAatdthEmt1XO9nY2EI8gfLb4yo0N01f4mcW9cabk4BdphA71Ss0U+0mhsiOk0 FJb32lXxEpl6xdt3zzAZP+5AvfykSyhH+T0AeBgd7GY9NEfWXff80C9LQYTIxJNXlUC0 giy/U9zI831Td1i+zdsNIjh3OQCMOcuujnnrI1ocHu7Ky1LEMQR3GIq/dTCo9YPoTyZu JqBplQBLoNw+FxjQxucpdF98H66m1txF/bCC/SOWP2+T4CUUqGqO+kUgVxHkfaU99Msu A5AbyFb18m0FRYvdPaLQXDcrM2YI0FI60ZJO27KbcE+aFCTpgMiYaEAYENXk4jJPT49D 0ydA== 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=023J8ksJ4vmuxcmwbZnNX00KqhCMhimoOjFSUNv0M5Y=; b=gT7uGPR44K0av8a/NEEvggLXDhIU00QhIdpub1xKRhu5f2H8TAAs143YG0E15Qbo+C Ltb0KjpSDVFahmKQkkSQvR6/Vk6Mws/NWFDD3QvvKFRRuN5jD2JX4yxJjoNyU4YdkwEp lOMksp3mUQObtumZApCcRfuvg7aAy3+ftlX+lGXj1wL3WtRjsgYlg4Om4vgJk6M7xiH2 Jd87vT4bN+udSIUdZI3nSOr71ALaNHoBoGDAnILwj4RlE70BOSgYhlVoD0hh/BQ0tBpA dgCsFkeiOG3x56naFY0pDC5bta/Ycwc4JEMzA6iveFqOCpjzCGWdxI+FE8+iXn+Mdh77 xmwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=F8YgbYv9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jz23si16487922ejb.168.2020.06.26.00.05.12; Fri, 26 Jun 2020 00:05:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=F8YgbYv9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728320AbgFZGSF (ORCPT + 99 others); Fri, 26 Jun 2020 02:18:05 -0400 Received: from conssluserg-03.nifty.com ([210.131.2.82]:57237 "EHLO conssluserg-03.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728034AbgFZGSE (ORCPT ); Fri, 26 Jun 2020 02:18:04 -0400 Received: from mail-vs1-f41.google.com (mail-vs1-f41.google.com [209.85.217.41]) (authenticated) by conssluserg-03.nifty.com with ESMTP id 05Q6HZEj004759; Fri, 26 Jun 2020 15:17:36 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com 05Q6HZEj004759 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1593152256; bh=023J8ksJ4vmuxcmwbZnNX00KqhCMhimoOjFSUNv0M5Y=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=F8YgbYv9uTVGtt06nJM2nCq42dJung2LLDOuj78Ijy2qco6BInAItLqPWW0CSMdw2 1f/rPNtemf1ASQOJhrkW5V/grtfkHpfOgxcFAcWQbA7vPfsNZTntT/Q2TEU4kFGJQo AEmWXMqviw/aFLqtNqwoh25Gi8z89cLOYRwZYILq5tFItGUAxAIOXV8YdzYanhxxtA UEum9d3reI4KVOrI/wNeybhXnFEv01RiZC9OF32A/vqB6pH8WpdmbJGywK424RwR3Y Ggpca2Hbq3OMA4+Va7Xt/T4QwRjWoDl+d6Tfm/kXqkhP/awlRgUp6U+Yy2cxny9Roc ZJwAwmx4jd8jQ== X-Nifty-SrcIP: [209.85.217.41] Received: by mail-vs1-f41.google.com with SMTP id o15so4876522vsp.12; Thu, 25 Jun 2020 23:17:36 -0700 (PDT) X-Gm-Message-State: AOAM531R+dX2xvGHN8VNEQcYqWDrYDBS4C/yFEVPGk1NgFfjield2ANY rfv81pbnb5XrHCMRBio8OGByEVoJ0xnSSMwuAcY= X-Received: by 2002:a67:22c7:: with SMTP id i190mr1265479vsi.179.1593152255223; Thu, 25 Jun 2020 23:17:35 -0700 (PDT) MIME-Version: 1.0 References: <5ef50e52.1c69fb81.b6cbd.bd8e@mx.google.com> In-Reply-To: <5ef50e52.1c69fb81.b6cbd.bd8e@mx.google.com> From: Masahiro Yamada Date: Fri, 26 Jun 2020 15:16:58 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] kbuild: buildtar: add arm64 dtbs support To: Domenico Andreoli Cc: Michal Marek , Linux Kbuild mailing list , Linux Kernel Mailing List , Olof Johansson , Will Deacon , Catalin Marinas 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 Fri, Jun 26, 2020 at 5:51 AM Domenico Andreoli wrote: > > From: Domenico Andreoli > > Make 'make tar-pkg' install dtbs on arm64. > > Signed-off-by: Domenico Andreoli > > v2: > - Destination path includes the kernel version, as expected > > --- > scripts/package/buildtar | 9 +++++++++ > 1 file changed, 9 insertions(+) > > Index: b/scripts/package/buildtar > =================================================================== > --- a/scripts/package/buildtar > +++ b/scripts/package/buildtar > @@ -125,6 +125,15 @@ case "${ARCH}" in > ;; > esac > > +# > +# Install dtbs > +# > +case "${ARCH}" in Instead of checking ${ARCH}, can you you do if grep -q '^CONFIG_OF_EARLY_FLATTREE=y' include/config/auto.conf; then ? This is what the deb package build does: https://github.com/masahir0y/linux/blob/v5.7/scripts/package/builddeb#L145 > + arm64) > + make ARCH="${ARCH}" -f ${srctree}/Makefile INSTALL_DTBS_PATH="${tmpdir}/boot/dtbs/${KERNELRELEASE}" dtbs_install > + ;; > +esac > + Or, you can use INSTALL_PATH="${tmpdir}/boot" to make it shorter. -- Best Regards Masahiro Yamada