]> git.dujemihanovic.xyz Git - u-boot.git/commit
Makefile: Depend only on required of-platdata files
authorSimon Glass <sjg@chromium.org>
Wed, 24 Mar 2021 17:40:50 +0000 (06:40 +1300)
committerSimon Glass <sjg@chromium.org>
Fri, 26 Mar 2021 04:03:08 +0000 (17:03 +1300)
commit13d71152f1e1323e0a5caf3a78b7a457fff58257
treef397e00f28733343b0311c0556141ec94a9f998b
parent6519da47411e90322c59e3fa4b41ff398ff0a688
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>
scripts/Makefile.spl