static check: ignore the folders without TFM code
The TFM code are in:
secure_fw/
interface/
Change-Id: I9aef912f39328d0687ff2a084411c384eb56d98f
Signed-off-by: Karl Zhang <karl.zhang@arm.com>
diff --git a/script/static-checks/check-banned-api.py b/script/static-checks/check-banned-api.py
index c056cae..0198504 100755
--- a/script/static-checks/check-banned-api.py
+++ b/script/static-checks/check-banned-api.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
-# Copyright (c) 2019-2020, Arm Limited. All rights reserved.
+# Copyright (c) 2019-2021, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
@@ -17,8 +17,11 @@
# Paths inside the tree to ignore. Hidden folders and files are always ignored.
# They mustn't end in '/'.
IGNORED_FOLDERS = (
- "tools",
- "docs"
+ 'platform/ext',
+ 'bl2/ext',
+ 'docs',
+ 'lib',
+ 'tools'
)
# List of ignored files in folders that aren't ignored