]> git.baikalelectronics.ru Git - uboot.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)
commitd8899465464ee0a8beb175274ec0ec8c86264aae
treef397e00f28733343b0311c0556141ec94a9f998b
parent9ecfd2247e550019e797797fd0954591db45edd3
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