From e1253a4d348f23d0d368ef69bc213b184acb8b56 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Thu, 3 Dec 2020 07:50:41 +0100 Subject: [PATCH] rootfile-check: exclude gdb gdb always contain aarch64 in a syscall list. Signed-off-by: Arne Fitzenreiter --- tools/checknewlog.pl | 2 +- tools/checkrootfiles | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/checknewlog.pl b/tools/checknewlog.pl index 0df390b5cb..c1d80eaeb2 100755 --- a/tools/checknewlog.pl +++ b/tools/checknewlog.pl @@ -28,7 +28,7 @@ foreach(@FILES) { # print $_."\n"; my $Found = 0; - if ( $_ =~ /$\.log/ || $_ =~ /^\.+/ || $_=~ /-install/ || $_=~ /-tools/ || $_=~ /-config/ || $_=~ /-kmod-/|| $_=~ /u-boot-.*-1/|| $_=~ /coreutils/ || $_=~ /cmake/ || $_=~ /libsigc/ || $_ eq 'FILES' ){ + if ( $_ =~ /$\.log/ || $_ =~ /^\.+/ || $_=~ /-install/ || $_=~ /-tools/ || $_=~ /-config/ || $_=~ /-kmod-/|| $_=~ /u-boot-.*-1/|| $_=~ /coreutils/ || $_=~ /cmake/ || $_=~ /gdb/ || $_=~ /libsigc/ || $_ eq 'FILES' ){ next; } elsif ( $_=~ /missing_rootfile/ ){ print "Rootfile for $_ missing!\n"; diff --git a/tools/checkrootfiles b/tools/checkrootfiles index d11ab8d5eb..5e465700d2 100755 --- a/tools/checkrootfiles +++ b/tools/checkrootfiles @@ -54,7 +54,7 @@ if [ "${?}" == "0" ]; then echo "Replace by xxxMACHINExxx !" fi -grep -r '/aarch64' ./config/rootfiles/ --exclude gcc --exclude-dir oldcore --exclude-dir aarch64 >/dev/null 2>&1 +grep -r '/aarch64' ./config/rootfiles/ --exclude gcc --exclude gdb --exclude-dir oldcore --exclude-dir aarch64 >/dev/null 2>&1 if [ "${?}" == "0" ]; then echo "Error! '/aarch64' in rootfiles files found!" grep -r '/aarch64' ./config/rootfiles/ --exclude gcc --exclude-dir oldcore --exclude-dir aarch64 -- 2.39.5