summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-03-15 17:25:19 +1300
committerSimon Glass <sjg@chromium.org>2021-03-22 19:23:28 +1300
commit4c6f65074e75fc9ddf5aa553f2f0738617fd00d5 (patch)
tree0cd6160e41a5a42b7d90883ce3b4847e05ddf093 /scripts
parent91bcfdf0b6683681c557db55e1d74424fb1cc4fe (diff)
downloadu-boot-4c6f65074e75fc9ddf5aa553f2f0738617fd00d5.tar.gz
u-boot-4c6f65074e75fc9ddf5aa553f2f0738617fd00d5.tar.xz
u-boot-4c6f65074e75fc9ddf5aa553f2f0738617fd00d5.zip
dm: Add the new dtoc-generated files to the build
Now that dtoc generates some new C files, add these to the build so that the instantiated devices and uclasses can be used. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.spl3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl
index f3bb793681..849e9c7060 100644
--- a/scripts/Makefile.spl
+++ b/scripts/Makefile.spl
@@ -120,7 +120,8 @@ endif
u-boot-spl-init := $(head-y)
u-boot-spl-main := $(libs-y)
ifdef CONFIG_$(SPL_TPL_)OF_PLATDATA
-u-boot-spl-platdata := $(obj)/dts/dt-plat.o
+u-boot-spl-platdata := $(obj)/dts/dt-plat.o $(obj)/dts/dt-uclass.o \
+ $(obj)/dts/dt-device.o
u-boot-spl-platdata_c := $(patsubst %.o,%.c,$(u-boot-spl-platdata))
endif