Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp769567iog; Mon, 13 Jun 2022 12:32:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzaGZHSBr57vP64vnjWemeO+fD7VeN72kuaanRlapyPbWwgQuTYwAA6Gw5TnCN0VyhMI5EQ X-Received: by 2002:a17:906:4ccc:b0:6fe:9155:47ae with SMTP id q12-20020a1709064ccc00b006fe915547aemr1157315ejt.246.1655148754390; Mon, 13 Jun 2022 12:32:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655148754; cv=none; d=google.com; s=arc-20160816; b=vD9Cj2OvcxPqKkef1jLMJI/tjiIZXyfbl6FJcN9HdUKNmHPIDpGvV8Hv1sBUG4TnWZ 0MXBZotY4LOJV4/G6UBHTrFPMyauANwFjFxxtFrncZtEACOdacDjjCdYvUk1BEVCNN1x 4x5rX8egR9bK6iofGvBtzwtQNzNrgU0J37JP8Sfm393OQq6b0gTyttRKEh9x2lmMPGsD GogNsKoRrFz1DdHrIUJwWYlGc1nuGVoGeCGLr4BaaH4Z/9lWsQyoRHG8vj07ATzChKEF vxoEVEFLsUqj4HMcrsQxeapPtLmuyIkTkkc7EGtyNO698RaLuquAwV2fB7sSOSwSBNne JrwA== 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:dkim-filter; bh=UA9/fYJvchh2CGLlij799ZPBSTxPFYv5eF54/TVtR6E=; b=KNf2W19x9tlfR7IrxB22Tjq7D7Rx/cU8C723vbo2LeuTcuW9H3I29RXauavBSwdQ/e vm+fHacihfUMH8Mih8BOD/rTO+t5VcT3v6CuAMlXVAd/dNIEMPFEcpDtmzYF4siRiwc+ pwGa2/xeMDWxgLnFjgYd2j+TKB5y86LH/nZb4PutxpHoTMoAQYR3jhZQMD5466FTDOuj NOLpcxfN0G0fMbphAIg30yV+9Pii/KqCPvPPYG2e5YKGS+R0nkZ+jAd9w5YkHKGhoYsU 8YmwLsVoINkhk3yP7pY93u1F04MyR9gQLAYvRu3DQJEIhpAgRbD5b5PHNqITX0zakZAV o4qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=WWWI68zP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id he18-20020a1709073d9200b006fe7a59af8esi9312964ejc.432.2022.06.13.12.32.09; Mon, 13 Jun 2022 12:32:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=WWWI68zP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S239951AbiFMTMN (ORCPT + 99 others); Mon, 13 Jun 2022 15:12:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351945AbiFMTK0 (ORCPT ); Mon, 13 Jun 2022 15:10:26 -0400 Received: from conuserg-10.nifty.com (conuserg-10.nifty.com [210.131.2.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3710B5044F; Mon, 13 Jun 2022 10:09:40 -0700 (PDT) Received: from grover.sesame (133-32-177-133.west.xps.vectant.ne.jp [133.32.177.133]) (authenticated) by conuserg-10.nifty.com with ESMTP id 25DH9AWi022790; Tue, 14 Jun 2022 02:09:12 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com 25DH9AWi022790 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1655140153; bh=UA9/fYJvchh2CGLlij799ZPBSTxPFYv5eF54/TVtR6E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WWWI68zP5I/8k4ImNqC3654WYfwV9CnNSxCzHFwuucAF54sVRdAiBsjDs1rCYxJVk 2vvtvtMzeqYAnpItw8GYekLzUyDb77BtI293WkdVMEcOj61c0H3PUyX5voBXq6lAsw 8yWL3RGwsgKmYKCbBv8Qmow9YjS7iEAW1tLH4bXG7Fq2axmeN/+CXAjrOWwdUA3AVn ALeRgmAskZrhMNcWBXjKuF9lV4utKM0MJHRA9dih7nRuKHDh34ue+nnoMW6Riyfl/C G7PDH/GeX0e51CD81Sq9AGz2CVcVbgKEZMT1rdVMLv5PBnpKBklNNNZc3hOxVMlyTN da1vnWMVWUyCQ== X-Nifty-SrcIP: [133.32.177.133] From: Masahiro Yamada To: Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , linux-s390@vger.kernel.org Cc: Masahiro Yamada , Ilya Leoshkevich , linux-kernel@vger.kernel.org Subject: [PATCH 3/3] s390/purgatory: remove duplicated build rule of kexec-purgatory.o Date: Tue, 14 Jun 2022 02:09:02 +0900 Message-Id: <20220613170902.1775211-3-masahiroy@kernel.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220613170902.1775211-1-masahiroy@kernel.org> References: <20220613170902.1775211-1-masahiroy@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_SOFTFAIL, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is equivalent to the pattern rule in scripts/Makefile.build. Having the dependency on $(obj)/purgatory.ro is enough. Signed-off-by: Masahiro Yamada --- arch/s390/purgatory/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/s390/purgatory/Makefile b/arch/s390/purgatory/Makefile index 3e2c17ba04de..d237bc6841cb 100644 --- a/arch/s390/purgatory/Makefile +++ b/arch/s390/purgatory/Makefile @@ -48,7 +48,6 @@ OBJCOPYFLAGS_purgatory.ro += --remove-section='.note.*' $(obj)/purgatory.ro: $(obj)/purgatory $(obj)/purgatory.chk FORCE $(call if_changed,objcopy) -$(obj)/kexec-purgatory.o: $(obj)/kexec-purgatory.S $(obj)/purgatory.ro FORCE - $(call if_changed_rule,as_o_S) +$(obj)/kexec-purgatory.o: $(obj)/purgatory.ro obj-y += kexec-purgatory.o -- 2.32.0