[Crash-utility] [PATCH v2] Makefile: Change the behavior of target "cscope"

lijiang lijiang at redhat.com
Fri Feb 25 08:48:16 UTC 2022


On Thu, Feb 24, 2022 at 10:32 AM <crash-utility-request at redhat.com> wrote:

> Date: Thu, 24 Feb 2022 10:23:56 +0000
> From: Huang Shijie <shijie at os.amperecomputing.com>
> To: k-hagio-ab at nec.com
> Cc: zwang at amperecomputing.com, patches at amperecomputing.com,
>         lijiang at redhat.com,     crash-utility at redhat.com
> Subject: [Crash-utility] [PATCH v2] Makefile: Change the behavior of
>         target  "cscope"
> Message-ID: <20220224102356.42157-1-shijie at os.amperecomputing.com>
> Content-Type: text/plain
>
> Make the "make cscope" only generate cscope index, not call the cscope.
>
> Also fix a typo:
>         cscope_out --> cscope.out
>
> Acked-by: Kazuhito Hagio <k-hagio-ab at nec.com>
> Signed-off-by: Huang Shijie <shijie at os.amperecomputing.com>
> ---
> v1 --> v2:
>         Changed the title, added Kazu's Ack.
> ---
>

Thank you for the update,  Shijie.
For v2: Applied.

Lianbo

 Makefile | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index 2ca496d..007d030 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -639,10 +639,10 @@ ref:
>         $(MAKE) ctags cscope
>
>  cscope:
> -       rm -f cscope.files cscope_out
> +       rm -f cscope.files cscope.out
>         for FILE in ${SOURCE_FILES}; do \
>         echo $$FILE >> cscope.files; done
> -       cscope
> +       cscope -b -f cscope.out
>
>  glink: make_configure
>         @./configure -q -b
> --
> 2.30.2
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20220225/5d42c5c6/attachment.htm>


More information about the Crash-utility mailing list