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>
This commit is contained in:
committed by
Tom Rini
parent
4a36be9bdb
commit
ad80c4a322
3
tools/.gitignore
vendored
3
tools/.gitignore
vendored
@@ -21,3 +21,6 @@
|
||||
/easylogo/easylogo
|
||||
/gdb/gdbcont
|
||||
/gdb/gdbsend
|
||||
|
||||
/lib/
|
||||
/common/
|
||||
|
||||
Reference in New Issue
Block a user