summaryrefslogtreecommitdiff
path: root/build/Makefile.kernel
diff options
context:
space:
mode:
Diffstat (limited to 'build/Makefile.kernel')
-rw-r--r--build/Makefile.kernel2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/Makefile.kernel b/build/Makefile.kernel
index 46770379..69c8ac69 100644
--- a/build/Makefile.kernel
+++ b/build/Makefile.kernel
@@ -49,7 +49,7 @@ uninstall:
clean:
$(LTCLEAN) $(target)
- $(RM) $(objects) $(dir)/*\~
+ $(RM) $(objects) $(srcdir)/*\~
$(RM) $(filter %.lex.c, $(sources))
$(RM) $(filter %.tab.c, $(sources))
$(RM) $(patsubst %.c,%.h, $(filter %.tab.c, $(sources)))