[PATCH] kbuild: fix a typo dt_binding_schema -> dt_binding_schemas

Xu Yang posted 1 patch 2 months ago
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] kbuild: fix a typo dt_binding_schema -> dt_binding_schemas
Posted by Xu Yang 2 months ago
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
Re: [PATCH] kbuild: fix a typo dt_binding_schema -> dt_binding_schemas
Posted by Masahiro Yamada 1 month, 3 weeks ago
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
>


-- 
Best Regards
Masahiro Yamada
Re: [PATCH] kbuild: fix a typo dt_binding_schema -> dt_binding_schemas
Posted by Nicolas Schier 2 months ago
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>