[PATCH] rtla: make doc build optional

Shuah Khan posted 1 patch 4 years, 4 months ago
tools/tracing/rtla/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] rtla: make doc build optional
Posted by Shuah Khan 4 years, 4 months ago
rtla build fails due to doc build dependency on rst2man. Make
doc build optional so rtla could be built without docs. Leave
the install dependency on doc_install alone.

Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
---
 tools/tracing/rtla/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/tracing/rtla/Makefile b/tools/tracing/rtla/Makefile
index 2d52ff0bff7d..7c39728d08de 100644
--- a/tools/tracing/rtla/Makefile
+++ b/tools/tracing/rtla/Makefile
@@ -59,7 +59,7 @@ endif
 .PHONY:	all
 all:	rtla
 
-rtla: $(OBJ) doc
+rtla: $(OBJ)
 	$(CC) -o rtla $(LDFLAGS) $(OBJ) $(LIBS)
 
 static: $(OBJ)
-- 
2.32.0

Re: [PATCH] rtla: make doc build optional
Posted by Shuah Khan 4 years, 4 months ago
On 1/31/22 1:10 PM, Shuah Khan wrote:
> rtla build fails due to doc build dependency on rst2man. Make
> doc build optional so rtla could be built without docs. Leave
> the install dependency on doc_install alone.
> 
> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
> ---
>   tools/tracing/rtla/Makefile | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/tracing/rtla/Makefile b/tools/tracing/rtla/Makefile
> index 2d52ff0bff7d..7c39728d08de 100644
> --- a/tools/tracing/rtla/Makefile
> +++ b/tools/tracing/rtla/Makefile
> @@ -59,7 +59,7 @@ endif
>   .PHONY:	all
>   all:	rtla
>   
> -rtla: $(OBJ) doc
> +rtla: $(OBJ)
>   	$(CC) -o rtla $(LDFLAGS) $(OBJ) $(LIBS)
>   
>   static: $(OBJ)
> 

Sorry - please ignore. Picked the wrong file to send.

thanks,
-- Shuah