]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
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)
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>

No differences found