[tip:x86/build] x86/build: Drop unused mflags-y

From: tip-bot for Cao jin
Date: Thu Aug 10 2017 - 10:20:02 EST


Commit-ID: e20f7e5e7243008d507c3d2d2e02cd40eb94a8c0
Gitweb: http://git.kernel.org/tip/e20f7e5e7243008d507c3d2d2e02cd40eb94a8c0
Author: Cao jin <caoj.fnst@xxxxxxxxxxxxxx>
AuthorDate: Mon, 7 Aug 2017 19:29:44 +0800
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
CommitDate: Thu, 10 Aug 2017 14:20:15 +0200

x86/build: Drop unused mflags-y

Subarchitecture support (mflags-y) was removed from x86 in this commit:

6bda2c8b32fe ("x86: remove subarchitecture support")

So drop the mflags-y usage from the Makefile.

Signed-off-by: Cao jin <caoj.fnst@xxxxxxxxxxxxxx>
Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Link: http://lkml.kernel.org/r/1502105384-23214-1-git-send-email-caoj.fnst@xxxxxxxxxxxxxx
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
---
arch/x86/Makefile | 3 ---
1 file changed, 3 deletions(-)

diff --git a/arch/x86/Makefile b/arch/x86/Makefile
index 1e902f9..70b3aa9 100644
--- a/arch/x86/Makefile
+++ b/arch/x86/Makefile
@@ -232,9 +232,6 @@ KBUILD_CFLAGS += -Wno-sign-compare
#
KBUILD_CFLAGS += -fno-asynchronous-unwind-tables

-KBUILD_CFLAGS += $(mflags-y)
-KBUILD_AFLAGS += $(mflags-y)
-
archscripts: scripts_basic
$(Q)$(MAKE) $(build)=arch/x86/tools relocs