Received: by 10.213.65.68 with SMTP id h4csp845054imn; Sun, 25 Mar 2018 15:29:48 -0700 (PDT) X-Google-Smtp-Source: AG47ELsdvr2OKq61bBWutr5TDfBSxhKCK2DDX3z5HWrlGnQevXwt6l93kCPhSrGc/f6gUXURcOTb X-Received: by 10.99.125.78 with SMTP id m14mr27058243pgn.190.1522016988550; Sun, 25 Mar 2018 15:29:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522016988; cv=none; d=google.com; s=arc-20160816; b=0Y3RuMtUWRnNllFTW2ZrIlhjEyBvUY3UgFkaumisOuPdvFtigu1W4OHhvYmZYEkhBN jL59o4Nu/RZhkXSnhRqKBqnTY5qw9PV/8spQ8L2fkCNecJsR5xGT8aXq3zQ/jTKrEBN7 35WxDua9b59E1sL4IMGrqxnglV4HxbYIaA8cuEmlgeLwbJRm8ZiB1Olm+FTG0IEYpjtS 1cQYxH9dnsPYl9vvqLZyaoMdwszx/XxdmiTaUTg5haETfEPFa/D9Y931kkGwIpjYStMd Xh7/nz31hJ/to1BzJNGrk3NGVzKm8akAXF3uxq2AqcS9FoxNbZn4yOvb58jVuHuEEAiP AKSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:robot-unsubscribe:robot-id :git-commit-id:subject:to:references:in-reply-to:reply-to:cc :message-id:from:date:arc-authentication-results; bh=cBntoPRuFZBGGhI5/XTblJZFXHNamT61p8+oK4uslKc=; b=QLUKUdaURbPLaBFi7LyXRzFtP+ezT4xePMdcLYmUt7eRU30IkHH3FrXaTuYsYVuCF+ V8PZSJWJyhssRxrX8ujpo9JaCf3EyQX9l4YKzMn/sPhqmqL08RcpXNA9EZ9QCd5XhtHM FFTh0Em91AKFKegVuMJIw+pbHUzA3q25lGwq81Se8Av3l/O0mYUrqnY9zJ6P203MBK9B qatVF1oVoykvNc8cU3mmXG3B22Nu6LjAOjG7cVlTrGkNmrRgsuxe4M//vxt382Q47wZ0 Z/UvUjftOKOpwLQb9iriKlFUchF5nPSDIp3nPBuviXrzF2UNpSfgRqhNH9vzih4EEHZt TXYg== ARC-Authentication-Results: i=1; mx.google.com; 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 13si10636152pfm.246.2018.03.25.15.29.34; Sun, 25 Mar 2018 15:29:48 -0700 (PDT) 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; 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 S1751981AbeCYW2h (ORCPT + 99 others); Sun, 25 Mar 2018 18:28:37 -0400 Received: from terminus.zytor.com ([198.137.202.136]:49129 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750839AbeCYW2d (ORCPT ); Sun, 25 Mar 2018 18:28:33 -0400 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTP id w2PMRbXe012146; Sun, 25 Mar 2018 15:27:37 -0700 Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id w2PMRaJs012138; Sun, 25 Mar 2018 15:27:36 -0700 Date: Sun, 25 Mar 2018 15:27:36 -0700 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Sven Wegener Message-ID: Cc: sven.wegener@stealer.net, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, keescook@chromium.org, mka@chromium.org, mingo@kernel.org, tglx@linutronix.de, vgoyal@redhat.com, peterz@infradead.org, sam@ravnborg.org, hpa@zytor.com Reply-To: hpa@zytor.com, peterz@infradead.org, sam@ravnborg.org, vgoyal@redhat.com, tglx@linutronix.de, keescook@chromium.org, mingo@kernel.org, mka@chromium.org, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, sven.wegener@stealer.net In-Reply-To: References: To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/urgent] x86/purgatory: Avoid creating stray ..d files, remove -MD from KBUILD_CFLAGS Git-Commit-ID: e847f6aaf68f6156a5e9b26afe1a7316b9ab697e X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on terminus.zytor.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: e847f6aaf68f6156a5e9b26afe1a7316b9ab697e Gitweb: https://git.kernel.org/tip/e847f6aaf68f6156a5e9b26afe1a7316b9ab697e Author: Sven Wegener AuthorDate: Sat, 24 Mar 2018 22:21:13 +0100 Committer: Ingo Molnar CommitDate: Sun, 25 Mar 2018 11:04:02 +0200 x86/purgatory: Avoid creating stray ..d files, remove -MD from KBUILD_CFLAGS The kernel build system already takes care of generating the dependency files. Having the additional -MD in KBUILD_CFLAGS leads to stray ..d files in the build directory when we call the cc-option macro. Signed-off-by: Sven Wegener Cc: H. Peter Anvin Cc: Kees Cook Cc: Linus Torvalds Cc: Matthias Kaehlcke Cc: Peter Zijlstra Cc: Sam Ravnborg Cc: Thomas Gleixner Cc: Vivek Goyal Link: http://lkml.kernel.org/r/alpine.LNX.2.21.1803242219380.30139@titan.int.lan.stealer.net Signed-off-by: Ingo Molnar --- arch/x86/purgatory/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/purgatory/Makefile b/arch/x86/purgatory/Makefile index 2f15a2ac4209..d70c15de417b 100644 --- a/arch/x86/purgatory/Makefile +++ b/arch/x86/purgatory/Makefile @@ -16,7 +16,7 @@ KCOV_INSTRUMENT := n # in turn leaves some undefined symbols like __fentry__ in purgatory and not # sure how to relocate those. Like kexec-tools, use custom flags. -KBUILD_CFLAGS := -fno-strict-aliasing -Wall -Wstrict-prototypes -fno-zero-initialized-in-bss -fno-builtin -ffreestanding -c -MD -Os -mcmodel=large +KBUILD_CFLAGS := -fno-strict-aliasing -Wall -Wstrict-prototypes -fno-zero-initialized-in-bss -fno-builtin -ffreestanding -c -Os -mcmodel=large KBUILD_CFLAGS += -m$(BITS) KBUILD_CFLAGS += $(call cc-option,-fno-PIE)