Fix DTB generation mechanism and build failure
authorLuis Machado <luis.machado@linaro.org>
Wed, 7 Apr 2021 19:20:44 +0000 (16:20 -0300)
committerLuis Machado <luis.machado@linaro.org>
Thu, 8 Apr 2021 18:02:14 +0000 (15:02 -0300)
commitb7f507caf082212ea1aa62897bb26d0f3b59b5c4
treeec04cab949f0346f1318b9cc6eadb402fbe274a7
parent2b8d134be46071f6869ed45ebbf521d91c93fb66
Fix DTB generation mechanism and build failure

I ran into a build failure with --enable-targets=all due to the fact that
the moxie sim expects to be able to use the dtc tool.  If it isn't available,
the builds fails.

The following patch adds a prebuilt dtb file to the tree. That file is the one
that is used for installations.

The patch also enables (re-)generation of the dtb file through maintainer
mode, if it needs to be updated due to a change in the dts file.

Tested on aarch64-linux/x86_64-linux.

sim/moxie/ChangeLog:

2021-04-08  Luis Machado  <luis.machado@linaro.org>

* Makefile.in (moxie-gdb.dtb): Add maintainer mode dependency.
(install-dtb): Install prebuilt dtb file.
* moxie-gdb.dtb: New prebuilt file.
sim/moxie/ChangeLog
sim/moxie/Makefile.in
sim/moxie/moxie-gdb.dtb [new file with mode: 0644]
This page took 0.026029 seconds and 4 git commands to generate.