]> git.dujemihanovic.xyz Git - u-boot.git/commit
Makefile: Tidy up SPL dtb production
authorSimon Glass <sjg@chromium.org>
Wed, 23 Dec 2020 02:30:15 +0000 (19:30 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 5 Jan 2021 19:24:40 +0000 (12:24 -0700)
commitc7674fcb0748a9a15853be7728c3ae887feb75c8
treec50b42698dfe54bbe3324d0fb99851030686331d
parentde3e372abdb553ff3a79f12830bb90252059f662
Makefile: Tidy up SPL dtb production

Use the SPL_NAME variable to simplify the rules. Drop the SPL targets
clean-files since the SPL and TPL dts/ directories are removed by
existing rules. Move the SPL rules into a new spl_dtbs to avoid the
complicated $(if) construct.

Also drop unused pieces from the 'targets' variable.

With this, SPL and TPL have separate dtbs which respect the various
u-boot,dm-spl / u-boot,dm-tpl tags.

Signed-off-by: Simon Glass <sjg@chromium.org>
dts/Makefile
scripts/Makefile.spl