tools: convert makefiles to kbuild style
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Tue, 4 Feb 2014 08:24:10 +0000 (17:24 +0900)
committerTom Rini <trini@ti.com>
Wed, 19 Feb 2014 16:07:49 +0000 (11:07 -0500)
commit940db16d2e6ce69f769f790bf1def56978f0ac6c
tree1b2baa7449a5440ac82ffb1af1b5c6c02cdfd31f
parentad71fa9971aeb0340221f82884b7794c497322be
tools: convert makefiles to kbuild style

Before this commit, makefiles under tools/ directory
were implemented with their own way.

This commit refactors them by using "hostprogs-y" variable.

Several C sources have been added to wrap other C sources
to simplify Makefile.
For example, tools/crc32.c includes lib/crc32.c

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
28 files changed:
Makefile
config.mk
rules.mk
spl/Makefile
tools/.gitignore
tools/Makefile
tools/crc32.c [new file with mode: 0644]
tools/easylogo/Makefile
tools/env/Makefile
tools/env/crc32.c [new file with mode: 0644]
tools/env/ctype.c [new file with mode: 0644]
tools/env/env_attr.c [new file with mode: 0644]
tools/env/env_flags.c [new file with mode: 0644]
tools/env/linux_string.c [new file with mode: 0644]
tools/env_embedded.c [new file with mode: 0644]
tools/fdt.c [new file with mode: 0644]
tools/fdt_ro.c [new file with mode: 0644]
tools/fdt_rw.c [new file with mode: 0644]
tools/fdt_strerror.c [new file with mode: 0644]
tools/fdt_wip.c [new file with mode: 0644]
tools/gdb/Makefile
tools/image-fit.c [new file with mode: 0644]
tools/image-sig.c [new file with mode: 0644]
tools/image.c [new file with mode: 0644]
tools/kernel-doc/Makefile
tools/md5.c [new file with mode: 0644]
tools/rsa-sign.c [new file with mode: 0644]
tools/sha1.c [new file with mode: 0644]