[PATCH v1 1/1] Makefile.lib: Always rebuild DSDT

Simon Glass sjg at chromium.org
Mon Oct 25 17:18:56 CEST 2021


Hi Andy,

On Mon, 25 Oct 2021 at 01:34, Andy Shevchenko <andy.shevchenko at gmail.com> wrote:
>
> On Sun, Oct 24, 2021 at 11:00 PM Simon Glass <sjg at chromium.org> wrote:
> > On Wed, 20 Oct 2021 at 06:37, Andy Shevchenko
> > <andriy.shevchenko at linux.intel.com> wrote:
> > >
> > > The dsdt.asl is usually combined out of several files that are included
> > > in the main one. Whenever we change the content of any of such files,
> > > build system is not able to recognize them. Hence the easiest way is to
> > > force DSDT rebuild each time we run make.
>
> > Ick. Since it uses #include, doesn't the dependency generation work with this?
>
> How?

If you do a sandbox build you will see this file:

arch/sandbox/dts/.sandbox.dtb.cmd

It contains the dependencies used to compile the device tree. Can we
use the same mechanism? There is a .cmd file for the dsdt file but it
does not seem to have the correct contents.

Regards,
Simon


More information about the U-Boot mailing list