[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit

Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/ap/build/scripts/build_env_mini_readme.txt b/ap/build/scripts/build_env_mini_readme.txt
new file mode 100755
index 0000000..c3d8069
--- /dev/null
+++ b/ap/build/scripts/build_env_mini_readme.txt
@@ -0,0 +1,51 @@
+build_env_mini             ½Å±¾ÖÆ×÷×îС±àÒëÁ´£¬¿ÉÓÃÓÚµÚÈý·½¿âºÍÓ¦ÓñàÒë

+build_env_mini_with_kernel ½Å±¾ÖÆ×÷×îС±àÒëÁ´£¬¿ÉÓÃÓÚµÚÈý·½¿â¡¢Ó¦ÓñàÒëºÍÄÚºËkoÄ£¿éµÄ±àÒë

+

+

+Èç¹û´æÔÚµÚÈý·½ko·â¿âµÄÇé¿ö£¬×îºÃ¹Ø±ÕÄÚºËko°æ±¾ºÅ¼ì²é¡£·ñÔòÄں˴úÂëÐÞ¸ÄÐèÒªµÚÈý·½koÖØÐ±àÒë¡£

+¹Ø±Õ·½·¨£º

+

+1)¡¢ÄÚºËconfig.linuxÀïCONFIG_MODVERSIONSºÍCONFIG_MODULE_SRCVERSION_ALL ¸Ä³ÉÏÂÃæÅäÖÃ

+# CONFIG_MODVERSIONS is not set

+# CONFIG_MODULE_SRCVERSION_ALL is not set

+

+2£©¡¢¹Ø±ÕcpkoºÍloadcpÁ½¸ökoµÄmodpost

+ÓÃÏÂÃæÃüÁî²éÕÒ

+cat ap/Makefile  | grep -n Module.symvers | grep modpost

+Á½ÐмÓ#×¢Ê͵ô

+    #(cd $(LINUX_DIR) && scripts/mod/modpost -m -a -o $(LINUX_DIR)/Module.symvers      -c -s  vmlinux drivers/cpko/cpko.ko)

+    #(cd $(LINUX_DIR) && scripts/mod/modpost -m -a -o $(LINUX_DIR)/Module.symvers      -c -s  vmlinux drivers/loadcp/loadcp.ko)

+

+

+

+²Ù×÷ÔËÐв½Ö裺

+1¡¢´Ógit/svn»ñÈ¡¸É¾»µÄ¹¤³Ìµ½codeĿ¼¡£codeĿ¼°üº¬ap¡¢cp¡¢build¡¢pub¡¢toolsµÈĿ¼

+2¡¢ÓÃÏÂÃæÃüÁ¸É¾»µÄap±¸·ÝÒ»¸öap2¡£±¸·ÝµÄʱºòapµÄĿ¼һ¶¨ÒªÊÇûÓбàÒë¹ýµÄ¡£

+

+cd code

+rsync -aq --delete --exclude=.svn --exclude=.git   ./ap/  ./ap2/

+

+

+3¡¢ÖÆ×÷×îС±àÒëÁ´

+cd  ap/project/zx297520v3/prj_mifi/build

+make normal

+cd  code

+

+1)ÖÆ×÷×îС±àÒë

+ÖÆ×÷build_env_mini£¬ÔÚcodeĿ¼ÔËÐÐ

+bash ap/build/scripts/build_env_mini/build_env_mini.sh

+

+2)ÖÆ×÷´øÄں˵Ä×îС±àÒë

+ÖÆ×÷build_env_mini_with_kernel£¬ÔÚcodeĿ¼ÔËÐÐ

+bash ap/build/scripts/build_env_mini_with_kernel/build_env_mini.sh

+

+4¡¢ÖÆ×÷populate_sdk

+ÐÞ¸Äap/project/zx297520v3/prj_mifi/config/normal/config_lib.mk£¬¶¨Òåpopulate_sdk_lib´ò°üµ½±àÒëÁ´sysrootµÄlib¿â

+populate_sdk_lib := libsqlite libcurl libssl expat dbus glib

+

+cd ap/project/zx297520v3/prj_mifi/build

+make normal populate_sdk

+cd  code

+bash ap/build/scripts/build_env_mini/build_env_mini.sh

+

+