Commit 0c3fca1f authored by Alessandro Rubini's avatar Alessandro Rubini

Makefile: add 'make clean'

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent cc9ea56a
......@@ -15,3 +15,8 @@ defconfig:
.config: silentoldconfig
clean:
$(MAKE) -C userspace $@
$(MAKE) -C kernel $@
$(MAKE) -f Makefile.kconfig $@
......@@ -66,7 +66,7 @@ config: scripts_basic FORCE
clean:
@find . $(RCS_FIND_IGNORE) \
\( -name '*.[oas]' -o -name '*.ko' -o -name '.*.cmd' \
\( -name '*.[oa]' -o -name '*.ko' -o -name '.*.cmd' \
-o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \
-o -name 'Module.markers' -o -name '.tmp_*.o.*' \) \
-type f -print | xargs rm -f -v
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment