summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-02-04 17:24:40 +0900
committerTom Rini <trini@ti.com>2014-02-19 11:10:04 -0500
commitefcf861931f987d82b11caed75b8c2ad9d709274 (patch)
tree9989d4de32a3b3dcf3f54775dfcc8faebf159774 /scripts/Makefile
parent2887c47338777cda675fc3aec8b88ab8dc18235d (diff)
downloadblackbird-obmc-uboot-efcf861931f987d82b11caed75b8c2ad9d709274.tar.gz
blackbird-obmc-uboot-efcf861931f987d82b11caed75b8c2ad9d709274.zip
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>
Diffstat (limited to 'scripts/Makefile')
-rw-r--r--scripts/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/Makefile b/scripts/Makefile
new file mode 100644
index 0000000000..ebbadc9ba2
--- /dev/null
+++ b/scripts/Makefile
@@ -0,0 +1,2 @@
+# Let clean descend into subdirs
+subdir- += basic
OpenPOWER on IntegriCloud