20221212
[devspec.git] / devspec.en_US / project / build-sample / readme.txt
blobbe3bdb6a749905024fadf6f155558d87c7957fa8
1 \r
2 [totoal]\r
3 @ listÎļþ + Ä¿Â¼½á¹¹\r
4 # build½Å±¾³ÌÐò½«Ò»¸öprojectµÄÅäÖÃÎļþ»®·ÖΪ¶à¸ölistÎļþ¡£\r
5 # ´Ó¹¦ÄÜÉÏ£¬Ò»¸ölistÁбíÎļþÁоٳöÏàͬÓÃ;µÄ²ÎÊý£¬ÔÚʹÓÃʱµÄ³ÌÐò´¦ÀíÉÏÒ²±È½ÏÈÝÒס£\r
6 # Ïà±ÈxmlµÈÆäËüÎļþ¸ñʽ£¬¼¸ºõ²»ÐèÒª½âÎö£¬ÒÔÎļþϵͳµÄ½á¹¹¶Ôconfig²ÎÊýÒÔ²»Í¬½á¹¹µÄ×éÖ¯¡£\r
7 # Ò»¸ölistÎļþ£¬ÈÝÒ×ÔÚÆäËü³ÌÐòÖÐʹÓ㬽øÐÐÌí¼Ó¡¢É¾³ý¡¢Î»Öõ÷Õû¡¢±éÀú£¬µÈ²Ù×÷£¬ÇÒ²»Í¬µÄlistÎļþÄÚÈÝʹÓÃÏàͬµÄ¹¦ÄܲÙ×÷½Ó¿Ú¡£\r
8 \r
9 # ÒÔtag¡¢task¡¢flow£¬ÃèÊö±àÒëµÄstep¼°²Ù×÷¡£\r
13 [time]\r
14 @ ´´½¨Ò»¸öpublic¹¤³Ì£¬±àÒëÔ´Îļþ£¬±àÒ빤³ÌËùÐèʱ¼äµÈ²ÎÊý£¬±£´æµ½pkg-buildµÄÊý¾ÝÇø¡£\r
15 @ ÔÚpkgÖиù¾ÝÎļþ¸öÊýºÍÎļþ´óС£¬Ô¤¹À±àÒëʱ¼ä¡£\r
16 @ ±àÒëʱ¼äÓÃÓÚ²¢ÐбàÒëµÄ²¢·¢ÊýµÄÉèÖ᣶à°ü±àÒëÇÒÒÀÀµ¹Øϵʱ£¬¸ù¾Ý±àÒë·¾¶£¬ÉèÖÃpkg±àÒë²¢·¢Êý¡£\r
19 [dir]\r
20 @ Èí¼þ°üµÄpkgĿ¼·ÅÖÃÈí¼þ°ü¹¹½¨Ê±µÄ²ÎÊý¡£\r
21 @ public-paramsĿ¼·ÅÖÃÒ»¸öprojectµÄͨÓñàÒë²ÎÊý\r
22 @ default-paramsĿ¼·ÅÖõ±Ç°projectµÄĬÈϱàÒë²ÎÊý\r
23 @ dest-xxxĿ¼·ÅÖÃprojectÖÐÒ»¸öexecutableµÄ²ÎÊý\r
24 @ dest-xxx/srcĿ¼ÖУ¬»òimiÅäÖÃÎļþµÄ<filename>_CFLAGS²ÎÊýÖУ¬·ÅÖÃij¸öÔ´ÎļþµÄ±àÒë²ÎÊý£¬ÔÚ±àÒëʱʹÓá£\r
25 @ ±àÒë²ÎÊý°üÀ¨£ºpkg-builderĬÈϲÎÊý£¬projectÖеIJÎÊý£¬µ¥¸öexecutableµÄ²ÎÊý£¬µ¥¸öÔ´ÎļþµÄ±àÒë²ÎÊý¡£²¢ÒÔ²»Í¬µÄÉèÖÃÎļþ£¬·Ö±ð¿ÉÉèÖá£\r
26 @ list-unit-testing.imiÖаüº¬ÐèÒªµ¥Ôª²âÊÔµÄÄ£¿é¡£ÔÚproject½øÐÐsrcµÄscanʱ£¬xxx_testing.xÎļþµÄxxxÄ£¿éÌí¼Óµ½unit-testingÁбíÖС£µ¥Ôª²âÊÔÒÔxxx.oºÍxxx_testing.oÁ´½Ó³ÉÒ»¸öelfÎļþÓÃÓÚ²âÊÔ¡£\r
27 @ Í¨³£Ò»¸öproject°üº¬Ò»¸öexecutable£¬ÀýÈçÒ»¸ölib¿âÖ»°üº¬Ò»¸ö.soÎļþ¡£Ê¹ÓÃdest-xxxĿ¼ÔÚÒ»¸öprojectÖаüº¬¶à¸ödestÎļþ£¬ÓÃÓÚһЩlib¿âµÄÈí¼þ°ü¸½´øһЩutils¡£¶ÔÓÚlinux-utilsÕâÑùµÄÈí¼þ°ü£¬°üº¬¶à¸ö³ÌÐòµÄ×éºÏ£¬¿ÉʹÓÃdest-xxxÊä³ö¶à¸ö³ÌÐò¡£\r
28 @ ¶ÔÓÚÒ»¸ö³ÌÐò°üº¬¶à¸ölib¿â£¬»ò¶à¸ö³ÌÐòºÍ¶à¸ölib¿â£¬Ê¹ÓÃlist-subproject.imi£¬µ±Ç°projectΪһ¸öworkspace£¬°üº¬¶à¸öproject¡£Í¨³£µ±Ç°projectÖв»°üº¬Ô´Âë±àÒë¡£\r
31 [tag]\r
32 @ taglist¶¨Òå±êÇ©£¬Ò»¸ötag°üº¬deplist¡¢actionlist¡¢step£¬\r
33 @ Ò»¸östepÉèÖðüº¬ÁËÒ»¸ötagÔÚbuildʱÐèÒªÔËÐеÄÆäËütag¡£²»Í¬ÓÚdeplistµÄÊÇ£¬stepÊÇ°üº¬ÔËÐеÄÏȺó˳Ðò£¬¶ødeplistµÄtag¿ÉͬʱÔËÐС£deplistÊÇtagÖ®Í⣬»¹°üÀ¨src listµÈÎļþ£¬\r
34 \r