kbuild: use scripts/Makefile.clean
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Tue, 4 Feb 2014 08:24:40 +0000 (17:24 +0900)
committerTom Rini <trini@ti.com>
Wed, 19 Feb 2014 16:10:04 +0000 (11:10 -0500)
commitefcf861931f987d82b11caed75b8c2ad9d709274
tree9989d4de32a3b3dcf3f54775dfcc8faebf159774
parent2887c47338777cda675fc3aec8b88ab8dc18235d
kbuild: use scripts/Makefile.clean

This commit refactors cleaning targets such as
clean, clobber, mrpropper, distclean
with scripts/Makefile.clean.

By using scripts/Makefile.clean, we can recursively descend
into subdirectories and delete generated files there.

We do not need add a big list of generated files
to the "clean" target.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Makefile
arch/blackfin/cpu/Makefile
board/cray/L1/Makefile
dts/Makefile
scripts/Makefile [new file with mode: 0644]
scripts/Makefile.clean