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>
This commit is contained in:
Masahiro Yamada 2014-02-04 17:24:10 +09:00 committed by Tom Rini
parent ad71fa9971
commit 940db16d2e
28 changed files with 155 additions and 364 deletions

1
tools/env/env_attr.c vendored Normal file
View file

@ -0,0 +1 @@
#include "../../common/env_attr.c"