Adapt make cscope
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
diff --git a/Makefile b/Makefile
index f79c903..b638804 100644
--- a/Makefile
+++ b/Makefile
@@ -200,14 +200,18 @@
## Editor navigation files
C_SOURCE_FILES = $(wildcard \
- 3rdparty/*/include/*/*.h 3rdparty/*/include/*/*/*.h 3rdparty/*/include/*/*/*/*.h \
- 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/*/include/*/*.h \
+ tf-psa-crypto/drivers/*/include/*/*/*.h \
+ tf-psa-crypto/drivers/*/include/*/*/*/*.h \
tf-psa-crypto/drivers/builtin/src/*.[hc] \
+ tf-psa-crypto/drivers/*/*.c \
+ tf-psa-crypto/drivers/*/*/*.c \
+ tf-psa-crypto/drivers/*/*/*/*.c \
+ tf-psa-crypto/drivers/*/*/*/*/*.c \
programs/*/*.[hc] \
tests/include/*/*.h tests/include/*/*/*.h \
tests/src/*.c tests/src/*/*.c \
@@ -226,7 +230,6 @@
cscope.in.out cscope.po.out cscope.out: $(C_SOURCE_FILES)
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)
+ $(patsubst %,-I%,$(wildcard tf-psa-crypto/drivers/*/include)) -Itests/include $(C_SOURCE_FILES)
.PHONY: cscope global