[v6,5/6] devtools: exempt internal ABI checking
Checks
Commit Message
No need to restrict the ABI on symbols that are only used by core
libraries.
Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
---
devtools/check-symbol-change.sh | 8 ++++++++
1 file changed, 8 insertions(+)
@@ -91,6 +91,13 @@ check_for_rule_violations()
if [ "$ar" = "add" ]
then
+ if [ "$secname" = "INTERNAL" ]
+ then
+ # these are absolved from any further checking
+ echo "Skipping symbol $symname in INTERNAL"
+ continue
+ fi
+
if [ "$secname" = "unknown" ]
then
# Just inform the user of this occurrence, but
@@ -148,6 +155,7 @@ check_for_rule_violations()
else
if ! grep -q "$mname $symname .* add" "$mapdb" && \
+ [ "$secname" != "INTERNAL" ] && \
[ "$secname" != "EXPERIMENTAL" ]
then
# Just inform users that non-experimenal