x86/build/vdso: Remove meaningless CFLAGS_REMOVE_*.o
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 14 Nov 2019 15:49:22 +0000 (00:49 +0900)
committerBorislav Petkov <bp@suse.de>
Fri, 15 Nov 2019 11:07:32 +0000 (12:07 +0100)
commit66584ea6b70a6cbae661292702e56a07580dbbd4
tree2de1698a9ba7c0f0cc1580895e65ac694addb0ec
parentde7156689d69e9861d9ddc54a9dea623c25020c5
x86/build/vdso: Remove meaningless CFLAGS_REMOVE_*.o

CFLAGS_REMOVE_*.o syntax is used to drop particular flags when
building objects from C files. It has no effect for assembly files.

vdso-note.o is compiled from the assembly file, vdso-note.S, hence
CFLAGS_REMOVE_vdso-note.o is meaningless.

Neither vvar.c nor vvar.S is found in the vdso directory. Since there
is no source file to create vvar.o, CFLAGS_REMOVE_vvar.o is also
meaningless.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: x86-ml <x86@kernel.org>
Link: https://lkml.kernel.org/r/20191114154922.30365-1-yamada.masahiro@socionext.com
arch/x86/entry/vdso/Makefile