2022-01-26 13:43:41

by Shuah Khan

[permalink] [raw]
Subject: [PATCH] tools/tracing: Update Makefile to build rtla

Update tracing Makefile to build/install/clean rtla tragets.

Signed-off-by: Shuah Khan <[email protected]>
---
tools/tracing/Makefile | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/tools/tracing/Makefile b/tools/tracing/Makefile
index 87e0ec48e2e7..95e485f12d97 100644
--- a/tools/tracing/Makefile
+++ b/tools/tracing/Makefile
@@ -1,11 +1,11 @@
# SPDX-License-Identifier: GPL-2.0
include ../scripts/Makefile.include

-all: latency
+all: latency rtla

-clean: latency_clean
+clean: latency_clean rtla_clean

-install: latency_install
+install: latency_install rtla_install

latency:
$(call descend,latency)
@@ -16,4 +16,14 @@ latency_install:
latency_clean:
$(call descend,latency,clean)

-.PHONY: all install clean latency latency_install latency_clean
+rtla:
+ $(call descend,rtla)
+
+rtla_install:
+ $(call descend,rtla,install)
+
+rtla_clean:
+ $(call descend,rtla,clean)
+
+.PHONY: all install clean latency latency_install latency_clean \
+ rtla rtla_install rtla_clean
--
2.32.0


Subject: Re: [PATCH] tools/tracing: Update Makefile to build rtla

On 1/26/22 01:22, Shuah Khan wrote:
> Update tracing Makefile to build/install/clean rtla tragets.
>
> Signed-off-by: Shuah Khan <[email protected]>

Reviewed-by: Daniel Bristot de Oliveira <[email protected]>

Thanks, Shuah!
-- Daniel
> ---
> tools/tracing/Makefile | 18 ++++++++++++++----
> 1 file changed, 14 insertions(+), 4 deletions(-)
>
> diff --git a/tools/tracing/Makefile b/tools/tracing/Makefile
> index 87e0ec48e2e7..95e485f12d97 100644
> --- a/tools/tracing/Makefile
> +++ b/tools/tracing/Makefile
> @@ -1,11 +1,11 @@
> # SPDX-License-Identifier: GPL-2.0
> include ../scripts/Makefile.include
>
> -all: latency
> +all: latency rtla
>
> -clean: latency_clean
> +clean: latency_clean rtla_clean
>
> -install: latency_install
> +install: latency_install rtla_install
>
> latency:
> $(call descend,latency)
> @@ -16,4 +16,14 @@ latency_install:
> latency_clean:
> $(call descend,latency,clean)
>
> -.PHONY: all install clean latency latency_install latency_clean
> +rtla:
> + $(call descend,rtla)
> +
> +rtla_install:
> + $(call descend,rtla,install)
> +
> +rtla_clean:
> + $(call descend,rtla,clean)
> +
> +.PHONY: all install clean latency latency_install latency_clean \
> + rtla rtla_install rtla_clean