diff mbox series

kbuild: fix a typo dt_binding_schema -> dt_binding_schemas

Message ID 20240925053230.45606-1-xu.yang_2@nxp.com (mailing list archive)
State In Next, archived
Headers show
Series kbuild: fix a typo dt_binding_schema -> dt_binding_schemas | expand

Commit Message

Xu Yang Sept. 25, 2024, 5:32 a.m. UTC
If we follow "make help" to "make dt_binding_schema", we will see
below error:

$ make dt_binding_schema
make[1]: *** No rule to make target 'dt_binding_schema'.  Stop.
make: *** [Makefile:224: __sub-make] Error 2

It should be a typo. So this will fix it.

Fixes: 604a57ba9781 ("dt-bindings: kbuild: Add separate target/dependency for processed-schema.json")
Cc: stable@vger.kernel.org
Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Nicolas Schier Sept. 25, 2024, 1:51 p.m. UTC | #1
On Wed, Sep 25, 2024 at 01:32:30PM +0800, Xu Yang wrote:
> If we follow "make help" to "make dt_binding_schema", we will see
> below error:
> 
> $ make dt_binding_schema
> make[1]: *** No rule to make target 'dt_binding_schema'.  Stop.
> make: *** [Makefile:224: __sub-make] Error 2
> 
> It should be a typo. So this will fix it.
> 
> Fixes: 604a57ba9781 ("dt-bindings: kbuild: Add separate target/dependency for processed-schema.json")
> Cc: stable@vger.kernel.org
> Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
> ---
>  Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Makefile b/Makefile
> index 265dd990a9b6..7aa71c70305e 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1645,7 +1645,7 @@ help:
>  		echo '* dtbs               - Build device tree blobs for enabled boards'; \
>  		echo '  dtbs_install       - Install dtbs to $(INSTALL_DTBS_PATH)'; \
>  		echo '  dt_binding_check   - Validate device tree binding documents and examples'; \
> -		echo '  dt_binding_schema  - Build processed device tree binding schemas'; \
> +		echo '  dt_binding_schemas - Build processed device tree binding schemas'; \
>  		echo '  dtbs_check         - Validate device tree source files';\
>  		echo '')
>  
> -- 
> 2.34.1
> 

Thanks!

Reviewed-by: Nicolas Schier <n.schier@avm.de>
Masahiro Yamada Oct. 6, 2024, 5:34 p.m. UTC | #2
On Wed, Sep 25, 2024 at 2:31 PM Xu Yang <xu.yang_2@nxp.com> wrote:
>
> If we follow "make help" to "make dt_binding_schema", we will see
> below error:
>
> $ make dt_binding_schema
> make[1]: *** No rule to make target 'dt_binding_schema'.  Stop.
> make: *** [Makefile:224: __sub-make] Error 2
>
> It should be a typo. So this will fix it.
>
> Fixes: 604a57ba9781 ("dt-bindings: kbuild: Add separate target/dependency for processed-schema.json")
> Cc: stable@vger.kernel.org
> Signed-off-by: Xu Yang <xu.yang_2@nxp.com>


Applied to linux-kbuild. Thanks.

> ---
>  Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Makefile b/Makefile
> index 265dd990a9b6..7aa71c70305e 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1645,7 +1645,7 @@ help:
>                 echo '* dtbs               - Build device tree blobs for enabled boards'; \
>                 echo '  dtbs_install       - Install dtbs to $(INSTALL_DTBS_PATH)'; \
>                 echo '  dt_binding_check   - Validate device tree binding documents and examples'; \
> -               echo '  dt_binding_schema  - Build processed device tree binding schemas'; \
> +               echo '  dt_binding_schemas - Build processed device tree binding schemas'; \
>                 echo '  dtbs_check         - Validate device tree source files';\
>                 echo '')
>
> --
> 2.34.1
>
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index 265dd990a9b6..7aa71c70305e 100644
--- a/Makefile
+++ b/Makefile
@@ -1645,7 +1645,7 @@  help:
 		echo '* dtbs               - Build device tree blobs for enabled boards'; \
 		echo '  dtbs_install       - Install dtbs to $(INSTALL_DTBS_PATH)'; \
 		echo '  dt_binding_check   - Validate device tree binding documents and examples'; \
-		echo '  dt_binding_schema  - Build processed device tree binding schemas'; \
+		echo '  dt_binding_schemas - Build processed device tree binding schemas'; \
 		echo '  dtbs_check         - Validate device tree source files';\
 		echo '')