Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7281376imu; Wed, 14 Nov 2018 14:48:42 -0800 (PST) X-Google-Smtp-Source: AJdET5fHiHBQyxn2QglWZInUdsKUfOASjf2KQKdRBbe/6+QHsH463FdnyuHboATqao8D+or8zz30 X-Received: by 2002:a63:dc54:: with SMTP id f20mr3531676pgj.410.1542235722118; Wed, 14 Nov 2018 14:48:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542235722; cv=none; d=google.com; s=arc-20160816; b=A5ITxgACFK2/vsQVt2QdTRI2EmXeBSA2lPKQy5s29lUqqfSOdZ1ml+G45l5h+Lqrjp dPw/1yFpuPESFk3q1WuZXJsRVRdi53Ovjv7fLLEJPtdyvzndQM7YmPkkkrwGoI0sQLms Xh/DDjQT/I+eAMEC1Jbmfg2xAGuaCYBLziRKO/FzJqfKXSoNkmkFhCldk/zXZpZJFoxe L3CMRNyGWaMhTMO0u4d160PNVzcaXvcjg/VVBcVgIvAt46Fl7nKy6DoSjgHqadhUCifu 7OXQtuk1Pb15/Yj97tOWEdbkS+wmrmsIFj0XahVNPdhAGdY8VBRXrJOEP6smSifi8z6M 24pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=GEip2WKMu4G1BX49B9kT3cuoK5BgZYrvdI5QoTONbx0=; b=vp0pvZ1r+gOL5U5GJiFxczyJcvuwgsSAakHHpUVEttvXV4zl4zBHQD4H1Rbk9yX+oj jfQ6mVeVpySMxtJ6NeVjirln9UQYh1YoclRtJ5NopMpy2vBDJklG0a3IbXijwQyk7an4 zeaRLKPJIPPMVZdxDKfbcBhCeTsw4EFCi43Cc62DgOxfXd7Y29LO754rQnlfENzU1EpR bbpO1N4GCITUwwbqsKMynAS9CAGQmeVTjDcJPa7VA1d7eLug4kuRuXby1oyWvXswl+4D y5bs0VQziYgRr/JBbxCaQrLb+7eGbMLxcJsF4U/L/HOCHLeZIeArL0/t5/Gi/UQt2O/v hgYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="jbeQ/UbR"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y6si7563198pll.384.2018.11.14.14.48.28; Wed, 14 Nov 2018 14:48:42 -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="jbeQ/UbR"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729010AbeKOIvx (ORCPT + 99 others); Thu, 15 Nov 2018 03:51:53 -0500 Received: from mail.kernel.org ([198.145.29.99]:34392 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726641AbeKOI1M (ORCPT ); Thu, 15 Nov 2018 03:27:12 -0500 Received: from sasha-vm.mshome.net (unknown [64.114.255.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6A16C22512; Wed, 14 Nov 2018 22:22:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1542234129; bh=JZkYnhfo6oPyXug1i56TwOPEM0BSj9n+2edVn8ZBuLU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jbeQ/UbRAawG/P9MKPJ7mz+227j7chjGQPRKgqeKvo4EIvdQdokUBLpd7eUZ1tzU+ s5xy3B/7IAFfkbTK37De/YTtpD7fnq07kWNqCEod8YUGSaxvLCMpupkxKl07Ir2qas BgyP2j7hsIkgdekopt7noPeiIVqHWQbxyJ671Ud0= From: Sasha Levin To: stable@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Vasily Gorbik , Martin Schwidefsky , Sasha Levin Subject: [PATCH AUTOSEL 4.19 04/73] s390/decompressor: add missing FORCE to build targets Date: Wed, 14 Nov 2018 17:20:58 -0500 Message-Id: <20181114222207.98701-4-sashal@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181114222207.98701-1-sashal@kernel.org> References: <20181114222207.98701-1-sashal@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Vasily Gorbik [ Upstream commit ef5febae1543f35a45f01614123e829d77326d0f ] According to Documentation/kbuild/makefiles.txt all build targets using if_changed should use FORCE as well. Add missing FORCE to make sure vmlinux decompressor 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/boot/compressed/Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/s390/boot/compressed/Makefile b/arch/s390/boot/compressed/Makefile index 04609478d18b..b375c6c5ae7b 100644 --- a/arch/s390/boot/compressed/Makefile +++ b/arch/s390/boot/compressed/Makefile @@ -20,7 +20,7 @@ KBUILD_CFLAGS := $(KBUILD_CFLAGS_DECOMPRESSOR) OBJECTS := $(addprefix $(obj)/,$(obj-y)) LDFLAGS_vmlinux := --oformat $(LD_BFD) -e startup -T -$(obj)/vmlinux: $(obj)/vmlinux.lds $(objtree)/arch/s390/boot/startup.a $(OBJECTS) +$(obj)/vmlinux: $(obj)/vmlinux.lds $(objtree)/arch/s390/boot/startup.a $(OBJECTS) FORCE $(call if_changed,ld) # extract required uncompressed vmlinux symbols and adjust them to reflect offsets inside vmlinux.bin @@ -51,17 +51,17 @@ suffix-$(CONFIG_KERNEL_LZMA) := .lzma suffix-$(CONFIG_KERNEL_LZO) := .lzo suffix-$(CONFIG_KERNEL_XZ) := .xz -$(obj)/vmlinux.bin.gz: $(vmlinux.bin.all-y) +$(obj)/vmlinux.bin.gz: $(vmlinux.bin.all-y) FORCE $(call if_changed,gzip) -$(obj)/vmlinux.bin.bz2: $(vmlinux.bin.all-y) +$(obj)/vmlinux.bin.bz2: $(vmlinux.bin.all-y) FORCE $(call if_changed,bzip2) -$(obj)/vmlinux.bin.lz4: $(vmlinux.bin.all-y) +$(obj)/vmlinux.bin.lz4: $(vmlinux.bin.all-y) FORCE $(call if_changed,lz4) -$(obj)/vmlinux.bin.lzma: $(vmlinux.bin.all-y) +$(obj)/vmlinux.bin.lzma: $(vmlinux.bin.all-y) FORCE $(call if_changed,lzma) -$(obj)/vmlinux.bin.lzo: $(vmlinux.bin.all-y) +$(obj)/vmlinux.bin.lzo: $(vmlinux.bin.all-y) FORCE $(call if_changed,lzo) -$(obj)/vmlinux.bin.xz: $(vmlinux.bin.all-y) +$(obj)/vmlinux.bin.xz: $(vmlinux.bin.all-y) FORCE $(call if_changed,xzkern) LDFLAGS_piggy.o := -r --format binary --oformat $(LD_BFD) -T -- 2.17.1