Print this page
12166 resync smatch to 0.6.1-rc1-il-3

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/smatch/src/smatch_scripts/build_generic_data.sh
          +++ new/usr/src/tools/smatch/src/smatch_scripts/build_generic_data.sh
↓ open down ↓ 51 lines elided ↑ open up ↑
  52   52      fi
  53   53  fi
  54   54  
  55   55  if [[ ! -z $ARCH ]]; then
  56   56          KERNEL_ARCH="ARCH=$ARCH"
  57   57  fi
  58   58  if [[ ! -z $CROSS_COMPILE ]] ; then
  59   59          KERNEL_CROSS_COMPILE="CROSS_COMPILE=$CROSS_COMPILE"
  60   60  fi
  61   61  
  62      -make $KERNEL_ARCH $KERNEL_CROSS_COMPILE -j${NR_CPU} CHECK="$BIN_DIR/smatch --call-tree --info --param-mapper --spammy --file-output" $TARGET
       62 +make $KERNEL_ARCH $KERNEL_CROSS_COMPILE -j${NR_CPU} CHECK="$BIN_DIR/smatch --call-tree --info --spammy --file-output" $TARGET
  63   63  
  64   64  find -name \*.c.smatch -exec cat \{\} \; -exec rm \{\} \; > smatch_warns.txt
  65   65  
  66   66  for i in $SCRIPT_DIR/gen_* ; do
  67   67          $i smatch_warns.txt -p=${PROJECT}
  68   68  done
  69   69  
  70   70  mkdir -p $DATA_DIR
  71   71  mv $PROJECT.* $DATA_DIR
  72   72  
  73   73  $SCRIPT_DIR/../smatch_data/db/create_db.sh -p=$PROJECT smatch_warns.txt
  74   74  
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX