[1/1] Makefile: Add cscope support

Andrew Jones ajones at ventanamicro.com
Thu Oct 13 07:31:17 PDT 2022


On Thu, Oct 13, 2022 at 09:26:23AM +0800, Tan En De wrote:
> Add cscope support so that running `make cscope` will generate/update
> cscope files used for source code browsing, while running `make
> distclean` will remove the cscope files.
> 
> Also add entry in .gitignore to ignore generated cscope files.
> 
> Signed-off-by: Tan En De <ende.tan at linux.starfivetech.com>
> ---
>  .gitignore |  1 +
>  Makefile   | 13 +++++++++++++
>  2 files changed, 14 insertions(+)

As a cscope user myself, thank you for this!

Reviewed-by: Andrew Jones <ajones at ventanamicro.com>



More information about the opensbi mailing list