{"id":123852,"date":"2020-04-03T21:21:29","date_gmt":"2020-04-03T13:21:29","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=123852"},"modified":"2020-04-03T21:21:29","modified_gmt":"2020-04-03T13:21:29","slug":"uclinux-make","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/uclinux-make.html","title":{"rendered":"\u300auClinux\u6e90\u4ee3\u7801\u4e2dMake\u6587\u4ef6\u5b8c\u5168\u89e3\u6790\u300bpdf\u7535\u5b50\u4e66\u514d\u8d39\u4e0b\u8f7d"},"content":{"rendered":"

uClinux\u6e90\u4ee3\u7801\u4e2dMake\u6587\u4ef6\u5b8c\u5168\u89e3\u6790 \u5185\u5bb9\u7b80\u4ecb\uff1a<\/p>\n

\u5728linux\u6216\u03bcclinux\u6e90\u4ee3\u7801\u4e2d\uff0cmake\u6587\u4ef6\u662f\u4e00\u79cd\u91cd\u8981\u7684\u6587\u4ef6\uff0c\u5b83\u62c5\u5f53\u7740\u7f16\u8bd1\u751f\u6210\u7cfb\u7edf\u76ee\u6807\u4ee3\u7801\u7684\u91cd\u4efb\u3002\u672c\u4e66\u7acb\u8db3\u4e8e\u03bcclinux\u6e90\u4ee3\u7801\uff0c\u901a\u8fc7\u5206\u6790\u5176\u4e2d\u7684make\u6587\u4ef6\uff0c\u4ee5\u53ca\u4e0e\u8fd9\u4e9bmake\u6587\u4ef6\u5bc6\u5207\u76f8\u5173\u7684\u90e8\u5206\u6e90\u4ee3\u7801\uff0c\u7ed9\u51fa\u4e00\u79cd\u5728\u6e90\u4ee3\u7801\u6c34\u5e73\u4e0a\u7406\u89e3\u7cfb\u7edf\u76ee\u6807\u4ee3\u7801\u751f\u6210\u8fc7\u7a0b\u548c\u751f\u6210\u539f\u7406\u7684\u65b9\u6cd5\u3002\u8fd9\u4e0d\u4ec5\u662f\u4e00\u672c\u5173\u4e8emake\u6587\u4ef6\u7f16\u5199\u3001\u5b66\u4e60\u3001\u7ec4\u7ec7\u3001\u5e94\u7528\u7684\u4e66\u7c4d\uff0c\u4e5f\u662f\u4e00\u672c\u57fa\u4e8earm\u6280\u672f\u8fdb\u884c\u03bcclinux\u5d4c\u5165\u5f0f\u7cfb\u7edf\u5f00\u53d1\u7684\u5de5\u7a0b\u6280\u672f\u4eba\u5458\u4e0d\u53ef\u7f3a\u5c11\u7684\u53c2\u8003\u4e66\uff0c\u540c\u65f6\u4e5f\u662f\u9ad8\u7b49\u9662\u6821\u4e2d\u6709\u5fd7\u4e8e\u5b66\u4e60\u548c\u5e94\u7528linux\u6216\u03bcclinux\u5e08\u751f\u4eec\u7684\u826f\u597d\u6559\u6750\u3002<\/p>\n

uClinux\u6e90\u4ee3\u7801\u4e2dMake\u6587\u4ef6\u5b8c\u5168\u89e3\u6790 \u76ee\u5f55:<\/p>\n

\u524d\u8a00<\/p>\n

\u7b2c1\u7ae0 \u57fa\u4e8eARM\u7684\u03bcClinux\u7b80\u4ecb<\/p>\n

1.1\u5d4c\u5165\u5f0f\u7cfb\u7edf<\/p>\n

1.2\u5d4c\u5165\u5f0f\u7cfb\u7edf\u4e0eUnux<\/p>\n

1.3Linux\u3001\u03bcClinux\u4e0eARM<\/p>\n

1.4Make\u6587\u4ef6\u7684\u5b66\u4e60\u5b9e\u9a8c\u73af\u5883<\/p>\n

1.5\u5c0f\u7ed3<\/p>\n

1.6\u4e60\u9898<\/p>\n

\u7b2c2\u7ae0Make\u6587\u4ef6\u7684\u7406\u89e3\u548c\u9605\u8bfb\u5165\u95e8<\/p>\n

2.1\u7f16\u5199Make\u6587\u4ef6\u7684\u4f8b\u5b50<\/p>\n

2.2Make\u6587\u4ef6\u7684\u7f16\u5199\u8bf4\u660e<\/p>\n

2.2.1\u7f16\u5199Make\u6587\u4ef6\u7684\u8981\u7d20<\/p>\n

2.2.2\u5177\u4f53\u89c4\u5219\u7684\u7f16\u5199\u548c\u4f7f\u7528\u6982\u8981<\/p>\n

2.2.3\u9759\u6001\u683c\u5f0f\u89c4\u5219<\/p>\n

2.2.4\u53cc\u5192\u53f7\u89c4\u5219<\/p>\n

2.2.5\u81ea\u52a8\u751f\u6210#include\u4e2d\u5934\u6587\u4ef6\u4f9d\u8d56<\/p>\n

2.2.6\u547d\u4ee4\u7684\u4f7f\u7528\u6280\u5de7<\/p>\n

2.2.7\u53d8\u91cf\u7684\u5b9a\u4e49\u548c\u4f7f\u7528<\/p>\n

2.2.8\u6761\u4ef6\u8bed\u53e5<\/p>\n

2.2.9\u51fd\u6570<\/p>\n

2.2.10\u8fd0\u884cMake\u6587\u4ef6<\/p>\n

2.2.11\u9690\u542b\u89c4\u5219<\/p>\n

2.2.12\u7528make\u66f4\u65b0\u6863\u6848\u6587\u4ef6<\/p>\n

2.3Make\u6587\u4ef6\u4e2d\u7684\u60ef\u4f8b<\/p>\n

2.4make\u4ea7\u751f\u7684\u9519\u8bef\u4fe1\u606f<\/p>\n

2.5\u5c0f\u7ed3<\/p>\n

2.6\u4e60\u9898<\/p>\n

\u7b2c3\u7ae0Linux\u4e2dMake\u6587\u4ef6\u53ca\u5176\u76f8\u4e92\u5173\u7cfb<\/p>\n

3.1\u6838\u5fc3Make\u6587\u4ef6\u4f20\u9012\u4e0b\u6765\u7684\u53d8\u91cf<\/p>\n

3.2\u7ed3\u6784Make\u6587\u4ef6\u7684\u53d8\u91cf<\/p>\n

3.3\u5b50\u76ee\u5f55Make\u7684\u7ed3\u6784<\/p>\n

3.4Rules.make\u53d8\u91cf<\/p>\n

3.5\u65b0\u65b9\u5f0f\u53d8\u91cf<\/p>\n

3.6\u5c0f\u7ed33.7\u4e60\u9898<\/p>\n

\u7b2c4\u7ae0\u57fa\u4e8eARM\u7684\u03bcClinux\u6e90\u4ee3\u7801\u4e2dMake\u6587\u4ef6\u7efc\u8ff0<\/p>\n

4.1Make\u6587\u4ef6\u5206\u5e034.2Make\u6587\u4ef6\u7684\u5206\u6790<\/p>\n

4.2.1Make\u6587\u4ef6\u7684\u5206\u7c7b\u53ca\u76f8\u4e92\u5173\u7cfb<\/p>\n

4.2.2Make\u6587\u4ef6\u5728\u7cfb\u7edf\u7f16\u8bd1\u4e2d\u7684\u5730\u4f4d\u548c\u4f5c\u7528<\/p>\n

4.2.3Make\u6587\u4ef6\u8868\u73b0\u51fa\u7684\u529f\u80fd\u548c\u65b9\u6cd5<\/p>\n

4.2.4\u6e90\u4ee3\u7801\u3001Make\u6587\u4ef6\u548c\u7cfb\u7edf\u76ee\u6807\u7684\u5173\u7cfb<\/p>\n

4.3\u5c0f\u7ed3<\/p>\n

4.4\u4e60\u9898<\/p>\n

\u7b2c5\u7ae0\u6838\u5fc3Make\u6587\u4ef6\u529f\u80fd\u4e0e\u5206\u6790<\/p>\n

5.1\u6838\u5fc3Make\u6587\u4ef6\u529f\u80fd\u53ca\u5176\u8bf4\u660e<\/p>\n

5.2\u6838\u5fc3Make\u6587\u4ef6\u4e0e\u5176\u4ed6Make\u6587\u4ef6\u7684\u5173\u7cfb<\/p>\n

5.3\u6838\u5fc3Make\u6587\u4ef6\u6e90\u4ee3\u7801\u5206\u6790\u4e0e\u8bf4\u660e<\/p>\n

5.3.1\u6838\u5fc3Make\u6587\u4ef6\u5206\u6790<\/p>\n

5.3.2\u6838\u5fc3Make\u6587\u4ef6\u603b\u4f53\u8bf4\u660e<\/p>\n

5.3.3\u4e00\u4e2a\u901a\u7528\u6838\u5fc3Make\u6587\u4ef6\u4f8b\u5b50<\/p>\n

5.4\u5c0f\u7ed35.5\u4e60\u9898<\/p>\n

\u7b2c6\u7ae0\u7ed3\u6784Make\u6587\u4ef6\u529f\u80fd\u4e0e\u5206\u6790<\/p>\n

6.1\u7ed3\u6784Make\u6587\u4ef6\u529f\u80fd\u4e0e\u5b9e\u73b0<\/p>\n

6.2\u4e00\u4f8b\uff1aARM\u7ed3\u6784Make\u6587\u4ef6<\/p>\n

6.2.1ARM\u7ed3\u6784Make\u6587\u4ef6\u8bf4\u660e<\/p>\n

6.2.2ARM\u7ed3\u6784Make\u6587\u4ef6\u5206\u6790<\/p>\n

6.2.3ARM\u7ed3\u6784Make\u6587\u4ef6\u603b\u4f53\u8bf4\u660e<\/p>\n

6.3\u4e8c\u4f8b\uff1ai386\u7ed3\u6784Make\u6587\u4ef6<\/p>\n

6.3.1i386\u7ed3\u6784Make\u6587\u4ef6\u8bf4\u660e<\/p>\n

6.3.2i386\u7ed3\u6784Make\u6587\u4ef6\u5206\u6790<\/p>\n

6.3.3i386\u7ed3\u6784Make\u6587\u4ef6\u603b\u4f53\u8bf4\u660e<\/p>\n

6.4\u5c0f\u7ed3<\/p>\n

6.5\u4e60\u9898<\/p>\n

\u7b2c7\u7ae0Rules.make\u529f\u80fd\u4e0e\u5206\u6790<\/p>\n

\u7b2c8\u7ae0\u5b50\u76ee\u5f55Make\u6587\u4ef6\u529f\u80fd\u4e0e\u5206\u6790<\/p>\n

\u7b2c9\u7ae0\u03bcClinux\u7cfb\u7edf\u914d\u7f6e\u6e90\u4ee3\u7801\u5206\u6790<\/p>\n

\u7b2c10\u7ae0\u81ea\u52a8\u786e\u7acb\u4f9d\u8d56\u7684\u5206\u6790<\/p>\n

\u7b2c11\u7ae0Make\u6587\u4ef6\u6267\u884c\u60c5\u666f\u53c2\u8003\u6587\u732e<\/p>\n

\"\"<\/p>\n

 <\/p>\n


\n

\u6839\u636e\u4e2d\u534e\u4eba\u6c11\u5171\u548c\u56fd\u56fd\u5bb6\u7248\u6743\u5c40\u76f8\u5173\u6cd5\u89c4\uff0c\u672c\u7ad9\u4e0d\u63d0\u4f9b\u8be5PDF\u7535\u5b50\u7248\u4e66\u7c4d
\n\u60a8\u53ef\u4ee5\u8fdb\u5165\u4ea4\u6d41\u793e\u7fa4\u4e2d\u7ee7\u7eed\u5bfb\u627e\u8d44\u6599\u6216\u8d2d\u4e70\u6b63\u7248\u4e66\u7c4d<\/p>\n

\"Linux\u4ea4\u6d41\u7fa4\" <\/a><\/p>\n

\u6280\u672f\u4ea4\u6d41\u793e\u7fa4\uff1ahttps:\/\/lrxjmw.cn\/club<\/a><\/p>\n

Linux\u4e66\u7c4d\u5728\u7ebf\u9605\u8bfb\uff1ahttps:\/\/lrxjmw.cn\/chapter-00.html<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"

uClinux\u6e90\u4ee3\u7801\u4e2dMake\u6587\u4ef6\u5b8c\u5168\u89e3\u6790 \u5185\u5bb9\u7b80\u4ecb\uff1a \u5728linux\u6216\u03bcclinux\u6e90\u4ee3\u7801\u4e2d\uff0cmake\u6587\u4ef6\u662f\u4e00 […]<\/p>\n","protected":false},"author":1,"featured_media":123859,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[430],"tags":[],"class_list":["post-123852","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-books"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/123852","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=123852"}],"version-history":[{"count":2,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/123852\/revisions"}],"predecessor-version":[{"id":155706,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/123852\/revisions\/155706"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/123859"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=123852"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=123852"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=123852"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}