
Hi Masahiro,
On 4 June 2014 20:11, Masahiro Yamada yamada.m@jp.panasonic.com wrote:
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.
This is a really nice solution.
Signed-off-by: Masahiro Yamada yamada.m@jp.panasonic.com
Acked-by: Simon Glass sjg@chromium.org Tested-by: Simon Glass sjg@chromium.org
I wonder if we might in the future consider a way to put the list of host objects for each directory in the directory itself (e.g. lib/libfdt/Makefile might have hostobj-y += COBJS-libfdt). I'm not sure if that would work with all tools requiring different libraries though/
Regards, Simon