commit | 4b2ea5549b45cc165a27e9361e65dbe508a60280 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Dec 28 20:34:53 2020 -0700 |
committer | Simon Glass <sjg@chromium.org> | Tue Jan 05 12:26:35 2021 -0700 |
tree | 7374763e5d0f9aa1d473ab63bd63ea1890a461cc | |
parent | 4e8e8462b95c7d0ee322028b55fa85ab4bd6355e [diff] |
Makefile: Invoke dtoc only once 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>