diff options
author | Tom Rini <trini@konsulko.com> | 2022-03-21 21:33:28 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-04-01 10:28:45 -0400 |
commit | 694943cf2ad53df22d48d0e30e56560cb1e6d211 (patch) | |
tree | 216340f2e3614a739156561b64b85b662d2ba611 /.azure-pipelines.yml | |
parent | 6815a66ad7430c3a89ea7897e567fe6c4f252ce3 (diff) | |
download | u-boot-694943cf2ad53df22d48d0e30e56560cb1e6d211.tar.gz u-boot-694943cf2ad53df22d48d0e30e56560cb1e6d211.tar.bz2 u-boot-694943cf2ad53df22d48d0e30e56560cb1e6d211.zip |
CI: Update unmigrated symbol check
We need to check for config header files that #undef migrated symbols as
well.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to '.azure-pipelines.yml')
-rw-r--r-- | .azure-pipelines.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index cd54688881..314d277189 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -68,8 +68,10 @@ stages: -e 's/^\s*menuconfig *\([A-Za-z0-9_]*\).*$/CONFIG_\1/p' \ | sort -u > $KSYMLST for CFG in `find include/configs -name "*.h"`; do - grep '#define[[:blank:]]CONFIG_' $CFG | \ - sed -n 's/#define.\(CONFIG_[A-Za-z0-9_]*\).*/\1/p' | \ + (grep '#define[[:blank:]]CONFIG_' $CFG | \ + sed -n 's/#define.\(CONFIG_[A-Za-z0-9_]*\).*/\1/p' ; \ + grep '#undef[[:blank:]]CONFIG_' $CFG | \ + sed -n 's/#undef.\(CONFIG_[A-Za-z0-9_]*\).*/\1/p') | \ sort -u > ${KUSEDLST} || true NUM=`comm -123 --total --output-delimiter=, ${KSYMLST} ${KUSEDLST} | \ cut -d , -f 3` |