]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
kbuild, tools: generate wrapper C sources automatically by Makefile
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Fri, 6 Jun 2014 05:04:32 +0000 (14:04 +0900)
committerTom Rini <trini@ti.com>
Wed, 11 Jun 2014 20:27:05 +0000 (16:27 -0400)
commitad80c4a3220b5348f904f909ed572c364d50f867
tree3c268b5ec197bd761b3628f40ca9f069ab3b41cf
parent4a36be9bdb42157401618681c9ac28e3824c120e
kbuild, tools: generate wrapper C sources automatically by Makefile

There are many source files shared between U-boot image and tools.
Instead of adding a lot of dummy wrapper files that just include
the corresponding file in lib/ or common/ directory,
Makefile should automatically generate them.

The original inspiration for this came from
scripts/Makefile.asm-generic of Linux Kernel.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
19 files changed:
tools/.gitignore
tools/Makefile
tools/crc32.c [deleted file]
tools/env_embedded.c [deleted file]
tools/fdt.c [deleted file]
tools/fdt_ro.c [deleted file]
tools/fdt_rw.c [deleted file]
tools/fdt_strerror.c [deleted file]
tools/fdt_wip.c [deleted file]
tools/fdtdec.c [deleted file]
tools/image-fit.c [deleted file]
tools/image-sig.c [deleted file]
tools/image.c [deleted file]
tools/md5.c [deleted file]
tools/rsa-checksum.c [deleted file]
tools/rsa-sign.c [deleted file]
tools/rsa-verify.c [deleted file]
tools/sha1.c [deleted file]
tools/sha256.c [deleted file]