author | Simon Glass <sjg@chromium.org> | |
Wed, 24 Mar 2021 17:40:50 +0000 (06:40 +1300) | ||
committer | Simon Glass <sjg@chromium.org> | |
Fri, 26 Mar 2021 04:03:08 +0000 (17:03 +1300) | ||
commit | 13d71152f1e1323e0a5caf3a78b7a457fff58257 | |
tree | f397e00f28733343b0311c0556141ec94a9f998b | tree | snapshot (tar.xz tar.gz zip) |
parent | 6519da47411e90322c59e3fa4b41ff398ff0a688 | commit | diff |
Makefile: Depend only on required of-platdata files
When OF_PLATDATA_INST is enabled, we need dt-uclass.c and dt-device.c for
the build to work. When OF_PLATDATA_INST is not enabled, we only need
dt-plat.c
Update the Makefile rules to indicate this.
At present all files are generated and compiled regardless of which are
actually needed.
Signed-off-by: Simon Glass <sjg@chromium.org>
When OF_PLATDATA_INST is enabled, we need dt-uclass.c and dt-device.c for
the build to work. When OF_PLATDATA_INST is not enabled, we only need
dt-plat.c
Update the Makefile rules to indicate this.
At present all files are generated and compiled regardless of which are
actually needed.
Signed-off-by: Simon Glass <sjg@chromium.org>
scripts/Makefile.spl | diff | blob | history |