zte's code,first commit

Change-Id: I9a04da59e459a9bc0d67f101f700d9d7dc8d681b
diff --git a/ap/build/config_check.sh b/ap/build/config_check.sh
new file mode 100755
index 0000000..e9023ed
--- /dev/null
+++ b/ap/build/config_check.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+diffconfig=$LINUX_DIR/scripts/diffconfig
+
+config_old=$1
+config_new=$2
+
+#diff_cnt=`$diffconfig $config_old $config_new | grep -E  "\-|+"   | grep " y" | wc | awk '{ print $1 }'`
+diff_cnt=`$diffconfig $config_old $config_new | grep "-" | grep " y" | wc | awk '{ print $1 }'`
+if [ $diff_cnt -gt 0 ]; then
+  echo "[error] $config_old -> $config_new difference"
+  $diffconfig $config_old $config_new | grep "-" | grep " y"
+  exit $diff_cnt
+fi
+
+echo "[pass] linux config diffconfig check pass"
+exit 0