[Fuego] [PATCH 02/18] need_check: cache the kconfig file

Daniel Sangorrin daniel.sangorrin at toshiba.co.jp
Tue Jan 30 09:59:20 UTC 2018


Signed-off-by: Daniel Sangorrin <daniel.sangorrin at toshiba.co.jp>
---
 engine/scripts/need_check.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/engine/scripts/need_check.sh b/engine/scripts/need_check.sh
index 04c551b..58f76c3 100755
--- a/engine/scripts/need_check.sh
+++ b/engine/scripts/need_check.sh
@@ -265,8 +265,10 @@ function check_kconfig {
   arg_array=($1)
   set +f
 
-  get_full_kconfig $LOGDIR
   kconf_filename=$LOGDIR/kconfig
+  if [ ! -f $kconf_filename ]; then
+    get_full_kconfig $LOGDIR
+  fi
 
   for cfg in "${arg_array[@]}" ; do
     echo "Checking cfg: [$cfg]"
-- 
2.7.4




More information about the Fuego mailing list