Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp617954pxf; Wed, 7 Apr 2021 07:43:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwDNtBbS7FqxmqC0iKING2SUynqJ52mCvbl908wPi3NMC1LQ+jfakHkgVT/xLYaN43DySTo X-Received: by 2002:a05:6e02:15c6:: with SMTP id q6mr3017393ilu.17.1617806630503; Wed, 07 Apr 2021 07:43:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617806630; cv=none; d=google.com; s=arc-20160816; b=lO8lj4OMbq9AEfs6/VaYjxgNqhg25PzG0MWFsW3tICC9Ot6NrmR4jMHc50WvjwGw27 BpMfQuUYSPkbBW0J1L4QqwULH99bjNHk48b/OeG3PS+QkadWHiKTE+vQLbrcK0BChJhk DeFU2ZLeSnu204Y0miGlq88S06g0ws0j4oYIkiFd/yPYO8GoQBNUc8D5zMVihQt7OGLr eeRV7a5XPrhDRTPSFMhYrSd7hUrwt/0/z83ZAfNq0Mlmf7ASl581UiKsplI1bCeGY/wP C7rajcp2jJyV3Ry/0S0D6nu5eWTWuGJgYMO8Rvw9JPfsuJS+6e4evMqEa6P5eoNH0Err 8ydA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=jRhGwr6iQ4SKJH3Q3xPKC/vA3txkeXg/fnuqHmar9cY=; b=u8DGjYrPYKyoY1TIv5em5tJDTnNzqv8eZdeCqLNwGDLkP26mWA4gJSFYkzsjSdp5dE GzEWblifc/yUCCzwgpbCag2ztEVbDbjbdKXHI9G6Pu6TKIputxq6BPeBgBNwHXGl9kME e/IBDrLG4yd8LvjiWej9hgFRM0LakFcR/QZEVU0MhAg/6soKV5iu1sp7Haa2nnW3m6lN cP7pxc+P2X1WDyF1fLKUCsW+5p1deNqCr8MHZmJMcPMBfiKSO73iaHMYpecVlJsd7t1b C6pJeNF4DBbRkon1u9mZJuL8dp9gmyRCxWSGh3KBpqhWdAN1k8RQuG3Q/N0fqeVGqp1C uqig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=TEVuE4W+; 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 z15si19689290iob.21.2021.04.07.07.43.37; Wed, 07 Apr 2021 07:43:50 -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=TEVuE4W+; 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 S1348771AbhDGFfP (ORCPT + 99 others); Wed, 7 Apr 2021 01:35:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:38642 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348763AbhDGFfM (ORCPT ); Wed, 7 Apr 2021 01:35:12 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D4A32613AF; Wed, 7 Apr 2021 05:35:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1617773702; bh=FZFEMVhO0nItcH9QpwU17LByF5JS6aB8jEDu4fnSwk4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TEVuE4W+UF5AV7oHDtC8vvLkNb9vSr9dp6VnJBxyyFoQciAY3G8LU0sa8ZaiLDPDs G4ZZ2+H1i9vQTQ5i772Wx/ryExcrVJRN3xp7qzOb5MsfoI0aEuSII+1X3mhFzhw0qi Z/CWyv9xMFWtgWQzLAm3QWXOWxCHvBxN8f/yd4lI= From: Greg Kroah-Hartman To: Masahiro Yamada , Michal Marek Cc: linux-kbuild@vger.kernel.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , linux-s390@vger.kernel.org Subject: [PATCH 17/20] kbuild: s390: use common install script Date: Wed, 7 Apr 2021 07:34:16 +0200 Message-Id: <20210407053419.449796-18-gregkh@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210407053419.449796-1-gregkh@linuxfoundation.org> References: <20210407053419.449796-1-gregkh@linuxfoundation.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The common scripts/install.sh script will now work for s390, no changes needed. So call that instead and delete the s390-only install script. Cc: Heiko Carstens Cc: Vasily Gorbik Cc: Christian Borntraeger Cc: linux-s390@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- arch/s390/boot/Makefile | 2 +- arch/s390/boot/install.sh | 30 ------------------------------ 2 files changed, 1 insertion(+), 31 deletions(-) delete mode 100644 arch/s390/boot/install.sh diff --git a/arch/s390/boot/Makefile b/arch/s390/boot/Makefile index 41a64b8dce25..5e3058d6e59b 100644 --- a/arch/s390/boot/Makefile +++ b/arch/s390/boot/Makefile @@ -71,5 +71,5 @@ $(obj)/startup.a: $(OBJECTS) FORCE $(call if_changed,ar) install: - sh -x $(srctree)/$(obj)/install.sh $(KERNELRELEASE) $(obj)/bzImage \ + sh -x $(srctree)/scripts/install.sh $(KERNELRELEASE) $(obj)/bzImage \ System.map "$(INSTALL_PATH)" diff --git a/arch/s390/boot/install.sh b/arch/s390/boot/install.sh deleted file mode 100644 index 515b27a996b3..000000000000 --- a/arch/s390/boot/install.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 -# -# arch/s390x/boot/install.sh -# -# Copyright (C) 1995 by Linus Torvalds -# -# Adapted from code in arch/i386/boot/Makefile by H. Peter Anvin -# -# "make install" script for s390 architecture -# -# Arguments: -# $1 - kernel version -# $2 - kernel image file -# $3 - kernel map file -# $4 - default install path (blank if root directory) -# - -# User may have a custom install script - -if [ -x ~/bin/${INSTALLKERNEL} ]; then exec ~/bin/${INSTALLKERNEL} "$@"; fi -if [ -x /sbin/${INSTALLKERNEL} ]; then exec /sbin/${INSTALLKERNEL} "$@"; fi - -echo "Warning: '${INSTALLKERNEL}' command not available - additional " \ - "bootloader config required" >&2 -if [ -f $4/vmlinuz-$1 ]; then mv $4/vmlinuz-$1 $4/vmlinuz-$1.old; fi -if [ -f $4/System.map-$1 ]; then mv $4/System.map-$1 $4/System.map-$1.old; fi - -cat $2 > $4/vmlinuz-$1 -cp $3 $4/System.map-$1 -- 2.31.1