From patchwork Sat Apr 7 17:38:44 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Korsgaard X-Patchwork-Id: 151312 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 23E3AB7061 for ; Sun, 8 Apr 2012 04:27:30 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 40A138D677; Sat, 7 Apr 2012 18:27:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aitX1YdPayC3; Sat, 7 Apr 2012 18:27:22 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 7892D8DE8A; Sat, 7 Apr 2012 18:27:21 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id E4BC78F753 for ; Sat, 7 Apr 2012 18:27:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id DAA07A0028 for ; Sat, 7 Apr 2012 18:27:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nIGlmGK8IweV for ; Sat, 7 Apr 2012 18:27:18 +0000 (UTC) Received: from busybox.osuosl.org (busybox.osuosl.org [140.211.167.224]) by hemlock.osuosl.org (Postfix) with ESMTP id D7B86A0011 for ; Sat, 7 Apr 2012 18:27:18 +0000 (UTC) Received: by busybox.osuosl.org (Postfix, from userid 4021) id D081E96A35; Sat, 7 Apr 2012 18:27:18 +0000 (UTC) From: Peter Korsgaard To: buildroot@busybox.net Date: Sat, 7 Apr 2012 19:38:44 +0200 X-Git-Refname: refs/heads/master X-Git-Oldrev: 5ee4614c4e72dfab4e8f36186fc8ef4ab05fb9a9 X-Git-Newrev: 040f6a325f7b62c178fb6d17480adbae4e42e745 X-Patchwork-Hint: ignore Message-Id: <20120407182718.D081E96A35@busybox.osuosl.org> Subject: [Buildroot] [git commit] Add documentation for -rebuild and -reconfigure X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net commit: http://git.buildroot.net/buildroot/commit/?id=040f6a325f7b62c178fb6d17480adbae4e42e745 branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master 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 Signed-off-by: Peter Korsgaard --- Makefile | 2 ++ docs/manual/rebuilding-packages.txt | 4 ++++ 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index 30099d9..3a09417 100644 --- a/Makefile +++ b/Makefile @@ -654,6 +654,8 @@ help: @echo @echo 'Build:' @echo ' all - make world' + @echo ' -rebuild - force recompile ' + @echo ' -reconfigure - force reconfigure ' @echo @echo 'Configuration:' @echo ' menuconfig - interactive curses-based configurator' diff --git a/docs/manual/rebuilding-packages.txt b/docs/manual/rebuilding-packages.txt index 9a41a88..f247dd0 100644 --- a/docs/manual/rebuilding-packages.txt +++ b/docs/manual/rebuilding-packages.txt @@ -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 +-reconfigure and -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