mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@26c91a9
This commit is contained in:
@@ -65,6 +65,16 @@ can help you understand how to work with Buildroot:
|
||||
there is no need for a full rebuild: a simple +make+ invocation
|
||||
will take the changes into account.
|
||||
|
||||
* When a package listed in +FOO_DEPENDENCIES+ is rebuilt or removed,
|
||||
the package +foo+ is not automatically rebuilt. For example, if a
|
||||
package +bar+ is listed in +FOO_DEPENDENCIES+ with +FOO_DEPENDENCIES
|
||||
= bar+ and the configuration of the +bar+ package is changed, the
|
||||
configuration change would not result in a rebuild of package +foo+
|
||||
automatically. In this scenario, you may need to either rebuild any
|
||||
packages in your build which reference +bar+ in their +DEPENDENCIES+,
|
||||
or perform a full rebuild to ensure any +bar+ dependent packages are
|
||||
up to date.
|
||||
|
||||
Generally speaking, when you're facing a build error and you're unsure
|
||||
of the potential consequences of the configuration changes you've
|
||||
made, do a full rebuild. If you get the same build error, then you are
|
||||
@@ -99,16 +109,20 @@ re-configure, re-compile and re-install this package from scratch. You
|
||||
can ask buildroot to do this with the +make <package>-dirclean+ command.
|
||||
|
||||
On the other hand, if you only want to restart the build process of a
|
||||
package from its compilation step, you can run +make
|
||||
<package>-rebuild+, followed by +make+ or +make <package>+. It will
|
||||
restart the compilation and installation of the package, but not from
|
||||
scratch: it basically re-executes +make+ and +make install+
|
||||
inside the package, so it will only rebuild files that changed.
|
||||
package from its compilation step, you can run +make <package>-rebuild+. It
|
||||
will restart the compilation and installation of the package, but not from
|
||||
scratch: it basically re-executes +make+ and +make install+ inside the package,
|
||||
so it will only rebuild files that changed.
|
||||
|
||||
If you want to restart the build process of a package from its
|
||||
configuration step, you can run +make <package>-reconfigure+, followed
|
||||
by +make+ or +make <package>+. It will restart the configuration,
|
||||
compilation and installation of the package.
|
||||
If you want to restart the build process of a package from its configuration
|
||||
step, you can run +make <package>-reconfigure+. It will restart the
|
||||
configuration, compilation and installation of the package.
|
||||
|
||||
While +<package>-rebuild+ implies +<package>-reinstall+ and
|
||||
+<package>-reconfigure+ implies +<package>-rebuild+, these targets as well
|
||||
as +<package>+ only act on the said package, and do not trigger re-creating
|
||||
the root filesystem image. If re-creating the root filesystem in necessary,
|
||||
one should in addition run +make+ or +make all+.
|
||||
|
||||
Internally, Buildroot creates so-called _stamp files_ to keep track of
|
||||
which build steps have been completed for each package. They are
|
||||
|
||||
Reference in New Issue
Block a user