Differences

This shows you the differences between two versions of the page.

zh-cn:doc:howto:build [2013/02/01 15:48]
zh-cn:doc:howto:build [2014/03/13 04:46] (current)
Line 9: Line 9:
    - 更新OpenWrt源。     - 更新OpenWrt源。
-    - Update and install package feeds.+    - 更新feeds的package 包.
    - 配置编译。     - 配置编译。
    - 开始编译。这会自动编译工具链,交叉编译源代码,打包包文件,最后生成可以可以刷写的镜像文件。     - 开始编译。这会自动编译工具链,交叉编译源代码,打包包文件,最后生成可以可以刷写的镜像文件。
Line 70: Line 70:
  - 目标系统   - 目标系统
-  - Package selection +  - 软件包设定 
-  - Build system settings+  - 系统构建设定
  - 内核模块   - 内核模块
Target system is selected from the extensive list of supported platforms, with the numerous target profiles – ranging from specific devices to generic profiles, all depending on the particular device at hand. Package selection has the option of either 'selecting all package', which might be un-practical in certain situation, or relying on the default set of packages will be adequate or make an individual selection. It is here needed to mention that some package combinations might break the build process, so it can take some experimentation before the expected result is reached. Added to this, the OpenWrt developers are themselves only maintaining a smaller set of packages – which includes all default packages – but, the feeds-script makes it very simple to handle a locally maintained set of packages and integrate them in the build-process. Target system is selected from the extensive list of supported platforms, with the numerous target profiles – ranging from specific devices to generic profiles, all depending on the particular device at hand. Package selection has the option of either 'selecting all package', which might be un-practical in certain situation, or relying on the default set of packages will be adequate or make an individual selection. It is here needed to mention that some package combinations might break the build process, so it can take some experimentation before the expected result is reached. Added to this, the OpenWrt developers are themselves only maintaining a smaller set of packages – which includes all default packages – but, the feeds-script makes it very simple to handle a locally maintained set of packages and integrate them in the build-process.
-你最多有三种选择: +这儿有三种选项可选: 
-  * < > the source code will not be processed +  * < > 该代码将**不会**被编译 
-  * <M> the source code of the package will be crosscompiled into binaries and a opkg package will be built and placed in ''/buildsystem/bla/bla/bla'', but the ImageGenerator will not put it onto the Firmware-Image! +  * <M> 该代码将被交叉编译,生成的ipk软件包将被放在 ''/buildsystem/bla/bla/bla'', 但该软件包不会放入固件中 
-  * <*> that the package will built into the firmware (on the SqashFS partition)+  * <*> 该代码将被放入固件中 (on the SqashFS partition)
The final step before the process of compiling the intended image(s) is to exit 'menuconfig' – this also includes the option to save a specific configuration or load an already existing, and pre-configured, version. The final step before the process of compiling the intended image(s) is to exit 'menuconfig' – this also includes the option to save a specific configuration or load an already existing, and pre-configured, version.
Line 184: Line 184:
</code> </code>
-===== Locating Images ===== +===== 本地固件 ===== 
-After a successful build, the freshly built image(s) can be found in the newly created ''/openwrt/trunk/bin'' directory.+编译成功后的固件bin文件在 ''/openwrt/trunk/bin'' 目录下.
<code> <code>
Line 224: Line 224:
-===== Examples =====+===== 例子 =====
  * https://forum.openwrt.org/viewtopic.php?pid=129319#p129319   * https://forum.openwrt.org/viewtopic.php?pid=129319#p129319
  * https://forum.openwrt.org/viewtopic.php?id=28267   * https://forum.openwrt.org/viewtopic.php?id=28267
Line 241: Line 241:
-===== Notes =====+===== 注意 =====
  * [[doc:techref:buildroot|OpenWrt Buildroot – Technical Reference]]   * [[doc:techref:buildroot|OpenWrt Buildroot – Technical Reference]]
  * [[http://downloads.openwrt.org/docs/buildroot-documentation.html]]   * [[http://downloads.openwrt.org/docs/buildroot-documentation.html]]
  * [[https://dev.openwrt.org/browser/trunk/docs/working.tex]]   * [[https://dev.openwrt.org/browser/trunk/docs/working.tex]]

Back to top

zh-cn/doc/howto/build.1359730105.txt.bz2 · Last modified: 2013/02/01 15:48 (external edit)