From 691f67fbe7aad1586a481dd54c7e981ac69a2632 Mon Sep 17 00:00:00 2001 From: Ronald Cron Date: Tue, 2 Jul 2024 08:50:56 +0200 Subject: [PATCH] Adapt make cscope Signed-off-by: Ronald Cron --- Makefile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index f79c903014..b63880487e 100644 --- a/Makefile +++ b/Makefile @@ -200,14 +200,18 @@ endif ## 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: 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/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