diff options
author | Gerard Snitselaar <dev@snitselaar.org> | 2012-02-04 04:55:59 -0500 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2012-02-24 19:18:56 -0500 |
commit | fb68d4be95fef4aab82c2a97da93a898d532dd57 (patch) | |
tree | 114323fdd7b05172a2af37036276d67c31eb81f4 /Makefile | |
parent | f858ee8b8cd8c216ddbeefae6e047ce90cae9cca (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 <dev@snitselaar.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1170,7 +1170,7 @@ MRPROPER_FILES += .config .config.old .version .old_version \ | |||
1170 | # | 1170 | # |
1171 | clean: rm-dirs := $(CLEAN_DIRS) | 1171 | clean: rm-dirs := $(CLEAN_DIRS) |
1172 | clean: rm-files := $(CLEAN_FILES) | 1172 | clean: rm-files := $(CLEAN_FILES) |
1173 | clean-dirs := $(addprefix _clean_, . $(vmlinux-alldirs) Documentation) | 1173 | clean-dirs := $(addprefix _clean_, . $(vmlinux-alldirs) Documentation samples) |
1174 | 1174 | ||
1175 | PHONY += $(clean-dirs) clean archclean | 1175 | PHONY += $(clean-dirs) clean archclean |
1176 | $(clean-dirs): | 1176 | $(clean-dirs): |