From 52cd108ab25d6a48a9ed415aaac90cf8deb03450 Mon Sep 17 00:00:00 2001 From: Ronald Cron Date: Tue, 2 Jul 2024 07:55:03 +0200 Subject: [PATCH] Adapt make cscope Signed-off-by: Ronald Cron --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 74e328af49..f79c903014 100644 --- a/Makefile +++ b/Makefile @@ -204,8 +204,10 @@ C_SOURCE_FILES = $(wildcard \ 3rdparty/*/*.c 3rdparty/*/*/*.c 3rdparty/*/*/*/*.c 3rdparty/*/*/*/*/*.c \ include/*/*.h \ library/*.[hc] \ + tf-psa-crypto/core/*.[hc] \ tf-psa-crypto/include/*/*.h \ tf-psa-crypto/drivers/builtin/include/*/*.h \ + tf-psa-crypto/drivers/builtin/src/*.[hc] \ programs/*/*.[hc] \ tests/include/*/*.h tests/include/*/*/*.h \ tests/src/*.c tests/src/*/*.c \ @@ -222,7 +224,9 @@ GPATH GRTAGS GSYMS GTAGS: $(C_SOURCE_FILES) ls $(C_SOURCE_FILES) | gtags -f - --gtagsconf .globalrc cscope: cscope.in.out cscope.po.out cscope.out cscope.in.out cscope.po.out cscope.out: $(C_SOURCE_FILES) - cscope -bq -u -Iinclude -Ilibrary -Itf-psa-crypto/include \ + cscope -bq -u -Iinclude -Ilibrary -Itf-psa-crypto/core \ + -Itf-psa-crypto/include \ -Itf-psa-crypto/drivers/builtin/include \ + -Itf-psa-crypto/drivers/builtin/src \ $(patsubst %,-I%,$(wildcard 3rdparty/*/include)) -Itests/include $(C_SOURCE_FILES) .PHONY: cscope global