Messages in this thread | | | From | Rob Herring <> | Date | Thu, 1 Mar 2018 07:28:37 -0600 | Subject | Re: [PATCH 2/6] kbuild: add dtc as dependency on .dtb files |
| |
On Wed, Feb 28, 2018 at 11:45 PM, Masahiro Yamada <yamada.masahiro@socionext.com> wrote: > 2018-03-01 13:33 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>: >> 2018-03-01 8:32 GMT+09:00 Rob Herring <robh@kernel.org>: >>> If dtc is rebuilt, we should rebuild .dtb files with the new dtc. >>> >>> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> >>> Signed-off-by: Rob Herring <robh@kernel.org> >> >> >> Hmm, I am not 100% sure about this. >> >> Is there a case where resulted DTBs >> depend on DTC version? >> >> >> If I understand correctly, >> DTS and DTB are 1:1 >> Unlike CC, there is no room for optimization. > > > Maybe I was wrong. > > Is there room for optimization > in 'DT strings' section?
Not sure.
> I guess it is optimized enough to avoid string duplication, > but there could be different results > without changing the specification.
What I care about is rebuilding so new warnings get emitted especially when developing those checks. Right now I have to manually delete the dtb files each time.
Rob
| |