
6 Jan
2021
6 Jan
'21
4:13 p.m.
Update the Makefile to run dtoc only once, generating all required files. This saves time since there is a lot of processing in each invocation of dtoc.
We already have a variable for the object files to build, so use that instead of repeating the same filenames. Add a C version of this also, for the same reason.
This makes it easier to add new C files (generated by dtoc) to the build later, as needed.
Signed-off-by: Simon Glass sjg@chromium.org ---
scripts/Makefile.spl | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-)
Applied to u-boot-dm/next, thanks!