Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp354802pxb; Wed, 14 Apr 2021 17:38:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNliofnI0gUX2pQM8kccClkdYaP6G3fsm6Nw8jBRQCr4C+9LXm7IsEHfohkfRuWSiNkAEJ X-Received: by 2002:a17:906:39cf:: with SMTP id i15mr725302eje.534.1618447107430; Wed, 14 Apr 2021 17:38:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618447107; cv=none; d=google.com; s=arc-20160816; b=Jc2tUeaiJcJvnSP/y13L41RWOIKEIu9OB2m3nbmOcwM0llEGZodV7yuEishlxkJ8fK 1IaRBPpsQKUBBtwpDAMBK/LN0NFBp+Bv4w9ApANSnyqwuiuaFDAhiiZS2fATzi+j3F00 U9mwD4NwcIVdfWckbk1p+Tdl8WCxOxRcryQULmlhTjiJ77xv+i2V0gOzbtc5HqepF++7 XrHTsADkcfAh7BOMyj8/xTlTW6UtEV4NNwJF8XxQL6ODS5F//FOSSyXr9eo6bzofUW/X baT/9irsCDRFt1apJD5fXNhexTmCck7w6rPIGTljIW1+Sk9p2oGmAgp0ILAk5va3MvTC WMZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=CshBgg6zP14LrZt6fRrXBlALRsfuKcvlO4L25l5pxB0=; b=Hso99CBVEhfNS6/EjN5D4u06bHr9FebD5Chn7WPf+uEpo3friZRXZBWTDfp+p/XXpd ybiHmWCBBSJkcYBIwSHHIbtgx3mA4+CQJ2PystYryIrov3X/Htto/9micWEpgpmlOth2 auuPa3f5dCPWoTErftSDGQNNPwCLOMN534fmgOlAy14Dfs3vM5mEwGeRYtIOPeWEGk0e O6mUDl4nukDcgV7RssVF5V2vthDEmqglzARPannQe0ZuvrDzoJeKGTfWap7nBYn5O/mG c9sjarnqyYyveeh90DBSboIvBXYJCjmpC119lAs/7Opb1XEbrSr1U5TIJtvCszD4Xfme Sb7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Bv2bVc7G; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n20si442089ejz.161.2021.04.14.17.38.04; Wed, 14 Apr 2021 17:38:27 -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=@linuxfoundation.org header.s=korg header.b=Bv2bVc7G; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351184AbhDNRva (ORCPT + 99 others); Wed, 14 Apr 2021 13:51:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:34204 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351076AbhDNRv3 (ORCPT ); Wed, 14 Apr 2021 13:51:29 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id CEFD06121E; Wed, 14 Apr 2021 17:51:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1618422667; bh=L91rvimOeNnMBAtgfvMuBl6PMf48osTpkcfJfYNf/Ko=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Bv2bVc7Gww8cnl36F7mCL0FIsBbV7kyaEA4yN0zHeaZpLhkI18bnDMmBt/1kHBVDs Y38NL4scoLwrcgzAoWLF/iW4/xpg4EcH3894Yj6C3jkM6uxESyk+HFU+mWju6aX+Ue ndRXQh7l+5zR0fibHPNVAB0BB7J/PVW0l/fJPNuo= Date: Wed, 14 Apr 2021 19:51:04 +0200 From: Greg Kroah-Hartman To: Helge Deller Cc: Masahiro Yamada , Michal Marek , Linux Kbuild mailing list , linux-arch , Linux Kernel Mailing List , "James E.J. Bottomley" , linux-parisc@vger.kernel.org Subject: Re: [PATCH 15/20] kbuild: parisc: use common install script Message-ID: References: <20210407053419.449796-1-gregkh@linuxfoundation.org> <20210407053419.449796-16-gregkh@linuxfoundation.org> <5e16a94b-7383-3ec5-949f-f4c5d2c812f5@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5e16a94b-7383-3ec5-949f-f4c5d2c812f5@gmx.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 14, 2021 at 06:30:59PM +0200, Helge Deller wrote: > On 4/7/21 1:23 PM, Masahiro Yamada wrote: > > On Wed, Apr 7, 2021 at 2:34 PM Greg Kroah-Hartman > > wrote: > > > > > > The common scripts/install.sh script will now work for parisc, all that > > > is needed is to add the compressed image type to it. So add that file > > > type check, and then we can remove the two different copies of the > > > parisc install.sh script that were only different by one line and have > > > the arch call the common install script. > > > > > > Cc: "James E.J. Bottomley" > > > Cc: Helge Deller > > > Cc: linux-parisc@vger.kernel.org > > > Signed-off-by: Greg Kroah-Hartman > > > --- > > > arch/parisc/Makefile | 4 +-- > > > arch/parisc/boot/Makefile | 2 +- > > > arch/parisc/boot/install.sh | 65 ------------------------------------ > > > arch/parisc/install.sh | 66 ------------------------------------- > > > scripts/install.sh | 1 + > > > 5 files changed, 4 insertions(+), 134 deletions(-) > > > delete mode 100644 arch/parisc/boot/install.sh > > > delete mode 100644 arch/parisc/install.sh > > > > > > diff --git a/arch/parisc/Makefile b/arch/parisc/Makefile > > > index 7d9f71aa829a..296d8ab8e2aa 100644 > > > --- a/arch/parisc/Makefile > > > +++ b/arch/parisc/Makefile > > > @@ -164,10 +164,10 @@ vmlinuz: vmlinux > > > endif > > > > > > install: > > > - $(CONFIG_SHELL) $(srctree)/arch/parisc/install.sh \ > > > + $(CONFIG_SHELL) $(srctree)/scripts/install.sh \ > > > $(KERNELRELEASE) vmlinux System.map "$(INSTALL_PATH)" > > > zinstall: > > > - $(CONFIG_SHELL) $(srctree)/arch/parisc/install.sh \ > > > + $(CONFIG_SHELL) $(srctree)/scripts/install.sh \ > > > $(KERNELRELEASE) vmlinuz System.map "$(INSTALL_PATH)" > > > > > > CLEAN_FILES += lifimage > > > diff --git a/arch/parisc/boot/Makefile b/arch/parisc/boot/Makefile > > > index 61f44142cfe1..ad2611929aee 100644 > > > --- a/arch/parisc/boot/Makefile > > > +++ b/arch/parisc/boot/Makefile > > > @@ -17,5 +17,5 @@ $(obj)/compressed/vmlinux: FORCE > > > $(Q)$(MAKE) $(build)=$(obj)/compressed $@ > > > > > > install: $(CONFIGURE) $(obj)/bzImage > > > - sh -x $(srctree)/$(obj)/install.sh $(KERNELRELEASE) $(obj)/bzImage \ > > > + sh -x $(srctree)/scripts/install.sh $(KERNELRELEASE) $(obj)/bzImage \ > > > System.map "$(INSTALL_PATH)" > > > > > > > > As far as I understood, there is no way to invoke this 'install' target > > in arch/parisc/boot/Makefile since everything is done > > by arch/parisc/Makefile. > > > > Can we remove this 'install' rule entirely? > > Yes, I think it can go in arch/parisc/boot/Makefile. It's already there today, so I'll delete the rule from arch/parisc/Makefile in my next round. thanks, greg k-h