path: root/Makefile
diff options
authorGerard Snitselaar <>2012-02-04 02:55:59 -0700
committerMichal Marek <>2012-02-25 01:18:56 +0100
commitfb68d4be95fef4aab82c2a97da93a898d532dd57 (patch)
tree114323fdd7b05172a2af37036276d67c31eb81f4 /Makefile
parentf858ee8b8cd8c216ddbeefae6e047ce90cae9cca (diff)
kbuild: clean up samples directory
Playing around with make randconfig I ended up with CONFIG_SAMPLES set. After cleaning up the build I noticed that git status was showing samples/hidraw/hid-example as an untracked file. Adding samples to clean-dirs seems to solve the problem, but I don't know if that is the correct way to solve the issue. Signed-off-by: Gerard Snitselaar <> Signed-off-by: Michal Marek <>
Diffstat (limited to 'Makefile')
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 71e6ed21dd15..b3c944ef9097 100644
--- a/Makefile
+++ b/Makefile
@@ -1170,7 +1170,7 @@ MRPROPER_FILES += .config .config.old .version .old_version \
clean: rm-dirs := $(CLEAN_DIRS)
clean: rm-files := $(CLEAN_FILES)
-clean-dirs := $(addprefix _clean_, . $(vmlinux-alldirs) Documentation)
+clean-dirs := $(addprefix _clean_, . $(vmlinux-alldirs) Documentation samples)
PHONY += $(clean-dirs) clean archclean