diff --git a/arch/x86/kernel/Makefile b/arch/x86/kernel/Makefile
index 45855c97923ee17a9a58b2bd188664d257cda2f1..38573340b14367b138df651b5fba84e691a51c32 100644
--- a/arch/x86/kernel/Makefile
+++ b/arch/x86/kernel/Makefile
@@ -3,3 +3,7 @@ include ${srctree}/arch/x86/kernel/Makefile_32
 else
 include ${srctree}/arch/x86/kernel/Makefile_64
 endif
+
+# Workaround to delete .lds files with make clean
+# The problem is that we do not enter Makefile_32 with make clean.
+clean-files := vsyscall*.lds vsyscall*.so