Messages in this thread | | | From | Rob Herring <> | Date | Wed, 4 Mar 2020 10:10:15 -0600 | Subject | Re: [PATCH 2/3] kbuild: allow to run dt_binding_check and dtbs_check in a single command |
| |
On Tue, Mar 3, 2020 at 9:20 PM Masahiro Yamada <masahiroy@kernel.org> wrote: > > Since commit 93512dad334d ("dt-bindings: Improve validation build error > handling"), 'make dtbs_check' does not validate the schema fully. > > If you want to check everything, you need to run two commands. > > $ make ARCH=arm dt_binding_check > $ make ARCH=arm dtbs_check > > They are exclusive each other, so you cannot do like this: > > $ make ARCH=arm dt_binding_check dtbs_check > > In this case, dt-doc-validate and dt-extract-example are skipped > because CHECK_DTBS is set. > > Let's make it possible to run those two targets simultaneously. > It will be useful for schema writers. > > Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> > --- > > Documentation/devicetree/bindings/Makefile | 8 +++----- > Documentation/devicetree/writing-schema.rst | 4 ++++ > Makefile | 6 +++++- > 3 files changed, 12 insertions(+), 6 deletions(-)
Reviewed-by: Rob Herring <robh@kernel.org>
| |