diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-02-04 17:24:40 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-02-19 11:10:04 -0500 |
commit | efcf861931f987d82b11caed75b8c2ad9d709274 (patch) | |
tree | 9989d4de32a3b3dcf3f54775dfcc8faebf159774 /board/cray/L1 | |
parent | 2887c47338777cda675fc3aec8b88ab8dc18235d (diff) | |
download | u-boot-imx-efcf861931f987d82b11caed75b8c2ad9d709274.zip u-boot-imx-efcf861931f987d82b11caed75b8c2ad9d709274.tar.gz u-boot-imx-efcf861931f987d82b11caed75b8c2ad9d709274.tar.bz2 |
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 'board/cray/L1')
-rw-r--r-- | board/cray/L1/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/cray/L1/Makefile b/board/cray/L1/Makefile index 6aae9fa..63f43da 100644 --- a/board/cray/L1/Makefile +++ b/board/cray/L1/Makefile @@ -14,3 +14,5 @@ $(obj)/bootscript.c: $(obj)/bootscript.image $(obj)/bootscript.image: $(src)/bootscript.hush -$(OBJTREE)/tools/mkimage -A ppc -O linux -T script -C none -a 0 -e 0 -n bootscript -d $< $@ + +clean-files := bootscript.c bootscript.image
\ No newline at end of file |