diff options
Diffstat (limited to 'docs/overview.txt')
-rw-r--r-- | docs/overview.txt | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/docs/overview.txt b/docs/overview.txt index cd704aa..5e06afa 100644 --- a/docs/overview.txt +++ b/docs/overview.txt @@ -283,19 +283,16 @@ Re-building an existing toolchain | If you have an existing toolchain, you can re-use the options used to build it to create a new toolchain. That needs a very little bit of effort on your side -but is quite easy. The options to build a toolchain are saved in the build log -file that is saved within the toolchain. crosstool-NG can extract those options -to recreate a new configuration: - ct-ng extractconfig </path/to/your/build.log >.config +but is quite easy. The options to build a toolchain are saved with the +toolchain, and you can retrieve this configuration by running: + ${CT_TARGET}-config -will extract those options, prompt you for the new ones, which you can later -edit with menuconfig. +This will dump the configuration to stdout, so to rebuild a toolchain with this +configuration, the following is all you need to do: + ${CT_TARGET}-config >.config -Of course, if your build log was compressed, you'd have to use something like: - bzcat /path/to/your/build.log.bz2 |ct-ng extractconfig >.config - -Then, once the configuration has been extracted, run: - ct-ng oldconfig +Then, you can review and change the configuration by running: + ct-ng menuconfig ________________________ / |