[tip:x86/vdso] x86/vdso: Teach 'make clean' to remove generated vdso-image-*.c files

tip-bot for Andrey Skvortsov
2015-03-31T12:39:01Z

Commit-ID: ef37507d99ab29c253de3c55e7ee9fa4f6d50834
Gitweb: http://git.kernel.org/tip/ef37507d99ab29c253de3c55e7ee9fa4f6d50834
Author: Andrey Skvortsov <andrej.skvortzov@gmail.com>
AuthorDate: Fri, 27 Mar 2015 11:48:18 -0700
Committer: Ingo Molnar <mingo@kernel.org>
CommitDate: Tue, 31 Mar 2015 10:45:15 +0200

x86/vdso: Teach 'make clean' to remove generated vdso-image-*.c files

After 'make clean' the following files were left in arch/x86/vdso/:

vdso-image-32-int80.c
vdso-image-32-syscall.c
vdso-image-32-sysenter.c

These file are generated during the build process and are present
in .gitignore, so remove them.

Signed-off-by: Andrey Skvortsov <andrej.skvortzov@gmail.com>
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Link: http://lkml.kernel.org/r/f85bb7ef6f8c6f6aa4bf422348018c84321454f8.1427482099.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
arch/x86/vdso/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/vdso/Makefile b/arch/x86/vdso/Makefile
index e07e52a..bea2f74 100644
--- a/arch/x86/vdso/Makefile
+++ b/arch/x86/vdso/Makefile
@@ -206,4 +206,4 @@ $(vdso_img_insttargets): install_%: $(obj)/%.dbg $(MODLIB)/vdso FORCE
PHONY += vdso_install $(vdso_img_insttargets)
vdso_install: $(vdso_img_insttargets) FORCE

-clean-files := vdso32-syscall* vdso32-sysenter* vdso32-int80* vdso64*
+clean-files := vdso32-syscall* vdso32-sysenter* vdso32-int80* vdso64* vdso-image-*.c