Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | Next revisionBoth sides next revision | ||
| user:ahorner:build-guide [2022/10/01 14:10] – ahorner | user:ahorner:build-guide [2022/10/01 14:19] – ahorner | ||
|---|---|---|---|
| Line 27: | Line 27: | ||
| make -j $(nproc) defconfig download clean world | make -j $(nproc) defconfig download clean world | ||
| </ | </ | ||
| + | |||
| + | ===== Buildinfo and .config ===== | ||
| When choosing what buildinfo you wish to use, you must consider what you want to end up with at the output. Merely taking the buildinfo file for a version and notr making any changes might be desirable if you wish to go through the logn build procedure of the OpenWRT official buildbot, but usually is not. Often, you'll want to make adjustments or even merge multiple buildinfo files together to achieve the desired result. | When choosing what buildinfo you wish to use, you must consider what you want to end up with at the output. Merely taking the buildinfo file for a version and notr making any changes might be desirable if you wish to go through the logn build procedure of the OpenWRT official buildbot, but usually is not. Often, you'll want to make adjustments or even merge multiple buildinfo files together to achieve the desired result. | ||
| - | An example of a common scenario in which you may wish to merge multiple buildinfo files together is when building a fresh snapshot image based on the master branch of the OpenWRT GIT. Your final .config file will vary heavily based on what your desired result from the build is and what you wish to use the build for. Here is an example .config which was based on both a snapshot buildinfo | + | An example of a common scenario in which you may wish to merge multiple buildinfo files together is when building a fresh snapshot image based on the master branch of the OpenWRT GIT. Your final .config file will vary heavily based on what your desired result from the build is and what you wish to use the build for. Here is an example .config which was based on both a [[https:// |
| < | < | ||
| Line 87: | Line 89: | ||
| CONFIG_PACKAGE_zlib=m | CONFIG_PACKAGE_zlib=m | ||
| </ | </ | ||
| + | |||
| + | * The file was initially based on the snapshot buildinfo, will all of the '' | ||
| + | * All lines starting with '' | ||
| + | * All ' | ||