Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5643111imu; Mon, 26 Nov 2018 03:25:48 -0800 (PST) X-Google-Smtp-Source: AJdET5dKw0SQ5fyGW1s/S8O6p4cDi7RHJElhLNUSv5oimtU4JDN3XFRM7wUfXUY+ob8OQLK77wbR X-Received: by 2002:a62:f5da:: with SMTP id b87mr27999462pfm.253.1543231548229; Mon, 26 Nov 2018 03:25:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543231548; cv=none; d=google.com; s=arc-20160816; b=cpPeUWuOvkBTC1c8S4fGZ0RFQ53ClpwhdyIBM2CLLXNjPmEQCzgZubXWlL3tkO9Htv CcNBYUu+MmUozooqFKjY8nGpOWOzBeqZGVrsnhzR0+cqURbh6CugewHBCMcIKOzuU3Bb t/2e9HEZ6gNdGZHBjFI9zKMAO00R8aXDxxuiPJ+RkAx7P82/kgAdGvPjJSBEjn2hDDWp E3yw7/Cj8UHzAvSPfUf3EoOG8ZGYf6XUS9pqQBln6uxVsoz9OplRCCPBtFQ5sUYGNK3z JHkCgdHgD5NkVkTlhCuQ1spbVXgkCctZIzLwlhTPnMpSLmBywmS4YvmdkLVDcDAy9BEW BxmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=BBSWuScFzsLXzyzFHpbLKiRbB5MlBD9yOrlf57iNn48=; b=BAMjjuzwBTgotd4Y5jn4oDqynLgo1oCDiSSVrGVvPB5S2DQWAqCPSRUbdFisCsg/eM 1vbzCKEs3+alY1lhYSnAIyaHgxevuxpRg8sX054Yvx3XoWUlWtJFGa6gOz6XLKGgATvT kTodKW9SGFhXHJUS1cKIUDkc+Wq+Di8pWsqwa6OC1SfaSygpsYTQBpcnXH7YH+nDvTpN u/UYTAXqaiqm4WwBJgGPWCGTEkPRrDCdJWeY6IqsbE1TPZmLU1KBJnqb0uc6rfv1m/QY aCHlzjepDNhDk6vLXn2HiaSVgweNbBTxiFP76kEdJBXjQkBvFT6U5gVUPy+U3DmDLWrR 4fqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dM74pnVY; 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 193si14058pgc.220.2018.11.26.03.25.26; Mon, 26 Nov 2018 03:25:48 -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=@kernel.org header.s=default header.b=dM74pnVY; 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 S1728237AbeKZVts (ORCPT + 99 others); Mon, 26 Nov 2018 16:49:48 -0500 Received: from mail.kernel.org ([198.145.29.99]:58860 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726532AbeKZVts (ORCPT ); Mon, 26 Nov 2018 16:49:48 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 91AC720817; Mon, 26 Nov 2018 10:56:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543229763; bh=AvK/r8u1n2EMQXxXBAAudxROsezsjWU6OUgb8f3UGSY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dM74pnVY31XHXUWqYvFgH5XXrihFaXhnVwutExPl7JUe8YWu3mWoRLwxXKZP1Un9g TRuYGlmDILEXjt6naKLBeIui/HsTSfxmpR4UBXRVuUj3TtRIDL5cndolZkAb99BzQb I2ARdDQnYugFCv2nwIAlcERa3WFnnL+SfDxq9Ld8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Philipp Rudo , Vasily Gorbik , Martin Schwidefsky , Sasha Levin Subject: [PATCH 4.4 46/70] s390/vdso: add missing FORCE to build targets Date: Mon, 26 Nov 2018 11:51:01 +0100 Message-Id: <20181126105051.464274034@linuxfoundation.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181126105046.722096341@linuxfoundation.org> References: <20181126105046.722096341@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ [ Upstream commit b44b136a3773d8a9c7853f8df716bd1483613cbb ] According to Documentation/kbuild/makefiles.txt all build targets using if_changed should use FORCE as well. Add missing FORCE to make sure vdso targets are rebuild properly when not just immediate prerequisites have changed but also when build command differs. Reviewed-by: Philipp Rudo Signed-off-by: Vasily Gorbik Signed-off-by: Martin Schwidefsky Signed-off-by: Sasha Levin --- arch/s390/kernel/vdso32/Makefile | 6 +++--- arch/s390/kernel/vdso64/Makefile | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/s390/kernel/vdso32/Makefile b/arch/s390/kernel/vdso32/Makefile index ee8a18e50a25..29b72c46284d 100644 --- a/arch/s390/kernel/vdso32/Makefile +++ b/arch/s390/kernel/vdso32/Makefile @@ -29,7 +29,7 @@ GCOV_PROFILE := n $(obj)/vdso32_wrapper.o : $(obj)/vdso32.so # link rule for the .so file, .lds has to be first -$(obj)/vdso32.so.dbg: $(src)/vdso32.lds $(obj-vdso32) +$(obj)/vdso32.so.dbg: $(src)/vdso32.lds $(obj-vdso32) FORCE $(call if_changed,vdso32ld) # strip rule for the .so file @@ -38,12 +38,12 @@ $(obj)/%.so: $(obj)/%.so.dbg FORCE $(call if_changed,objcopy) # assembly rules for the .S files -$(obj-vdso32): %.o: %.S +$(obj-vdso32): %.o: %.S FORCE $(call if_changed_dep,vdso32as) # actual build commands quiet_cmd_vdso32ld = VDSO32L $@ - cmd_vdso32ld = $(CC) $(c_flags) -Wl,-T $^ -o $@ + cmd_vdso32ld = $(CC) $(c_flags) -Wl,-T $(filter %.lds %.o,$^) -o $@ quiet_cmd_vdso32as = VDSO32A $@ cmd_vdso32as = $(CC) $(a_flags) -c -o $@ $< diff --git a/arch/s390/kernel/vdso64/Makefile b/arch/s390/kernel/vdso64/Makefile index c4b03f9ed228..1b083d80de50 100644 --- a/arch/s390/kernel/vdso64/Makefile +++ b/arch/s390/kernel/vdso64/Makefile @@ -29,7 +29,7 @@ GCOV_PROFILE := n $(obj)/vdso64_wrapper.o : $(obj)/vdso64.so # link rule for the .so file, .lds has to be first -$(obj)/vdso64.so.dbg: $(src)/vdso64.lds $(obj-vdso64) +$(obj)/vdso64.so.dbg: $(src)/vdso64.lds $(obj-vdso64) FORCE $(call if_changed,vdso64ld) # strip rule for the .so file @@ -38,12 +38,12 @@ $(obj)/%.so: $(obj)/%.so.dbg FORCE $(call if_changed,objcopy) # assembly rules for the .S files -$(obj-vdso64): %.o: %.S +$(obj-vdso64): %.o: %.S FORCE $(call if_changed_dep,vdso64as) # actual build commands quiet_cmd_vdso64ld = VDSO64L $@ - cmd_vdso64ld = $(CC) $(c_flags) -Wl,-T $^ -o $@ + cmd_vdso64ld = $(CC) $(c_flags) -Wl,-T $(filter %.lds %.o,$^) -o $@ quiet_cmd_vdso64as = VDSO64A $@ cmd_vdso64as = $(CC) $(a_flags) -c -o $@ $< -- 2.17.1