commit | 049becf399022d1a2facd57b44ba1cd2c4c25909 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Mar 25 06:40:50 2021 +1300 |
committer | Simon Glass <sjg@chromium.org> | Fri Mar 26 17:03:08 2021 +1300 |
tree | f397e00f28733343b0311c0556141ec94a9f998b | |
parent | 8c0a0b038a4cb20e6552e6c851f8501ac421f54d [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>