riscv: Fix BUILTIN_DTB for sifive and microchip soc

Fix BUILTIN_DTB config which resulted in a dtb that was actually not
built into the Linux image: in the same manner as Canaan soc does,
create an object file from the dtb file that will get linked into the
Linux image.

Signed-off-by: Alexandre Ghiti <alex@ghiti.fr>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
This commit is contained in:
Alexandre Ghiti 2021-06-04 14:06:39 +02:00 • committed by Palmer Dabbelt
commit 0ddd7eaffa
No known key found for this signature in database
GPG key ID: 2E1319F35FBB1889
2 changed files with 2 additions and 0 deletions