]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
Add documentation for <pkg>-rebuild and <pkg>-reconfigure
authorStephan Hoffmann <sho@relinux.de>
Fri, 6 Apr 2012 16:44:22 +0000 (18:44 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sat, 7 Apr 2012 17:38:44 +0000 (19:38 +0200)
Since these two special make targets are very useful but not yet
mentioned in the documentation I added them to the make help and
the manual.

Signed-off-by: Stephan Hoffmann <sho@reLinux.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Makefile
docs/manual/rebuilding-packages.txt

index 30099d99de597cfee6337c87409e14df9558531d..3a09417ad41ff6a83768bfd001108e8e64ade899 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -654,6 +654,8 @@ help:
        @echo
        @echo 'Build:'
        @echo '  all                    - make world'
+       @echo '  <package>-rebuild      - force recompile <package>'
+       @echo '  <package>-reconfigure  - force reconfigure <package>'
        @echo
        @echo 'Configuration:'
        @echo '  menuconfig             - interactive curses-based configurator'
index 9a41a88ac34af4197ac6a3a7584794c0243ad93f..f247dd04f8e046c43641185af8aa51bb61c95175 100644 (file)
@@ -15,6 +15,10 @@ The easiest way to rebuild a single package from scratch is to remove
 its build directory in +output/build+. Buildroot will then re-extract,
 re-configure, re-compile and re-install this package from scratch.
 
+For convenience, most packages support the special make targets
+<package>-reconfigure and <package>-rebuild to repeat the configure
+and build steps.
+
 However, if you don't want to rebuild the package completely from
 scratch, a better understanding of the Buildroot internals is
 needed. Internally, to keep track of which steps have been done and