2022-02-01 20:50:08

by Shuah Khan

[permalink] [raw]
Subject: [PATCH] rtla: make doc build optional

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 <[email protected]>
---
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


2022-02-01 20:56:04

by Shuah Khan

[permalink] [raw]
Subject: Re: [PATCH] rtla: make doc build optional

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 <[email protected]>
> ---
> 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