From patchwork Fri Apr 6 16:44:22 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephan Hoffmann X-Patchwork-Id: 151213 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 4C0A1B6FEA for ; Sat, 7 Apr 2012 02:45:12 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 980FA8FED5; Fri, 6 Apr 2012 16:45:07 +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 jBWi5RE4FAhs; Fri, 6 Apr 2012 16:45:04 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 757A48FA0C; Fri, 6 Apr 2012 16:45:03 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 78F1E8F753 for ; Fri, 6 Apr 2012 16:45:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 69C908F9AB for ; Fri, 6 Apr 2012 16:45:01 +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 AYMQRIOh1GxY for ; Fri, 6 Apr 2012 16:45:00 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.8]) by whitealder.osuosl.org (Postfix) with ESMTP id 417AE8F99F for ; Fri, 6 Apr 2012 16:45:00 +0000 (UTC) Received: from stephan-desktop (p549A6953.dip.t-dialin.net [84.154.105.83]) by mrelayeu.kundenserver.de (node=mreu3) with ESMTP (Nemesis) id 0LxHby-1SI41K2OuQ-016zsD; Fri, 06 Apr 2012 18:44:56 +0200 Received: by stephan-desktop (Postfix, from userid 1000) id 157E85008CE; Fri, 6 Apr 2012 18:44:55 +0200 (CEST) From: Stephan Hoffmann To: buildroot@busybox.net Date: Fri, 6 Apr 2012 18:44:22 +0200 Message-Id: <1333730662-21942-1-git-send-email-sho@relinux.de> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <20111128130636.09dee43e@skate> References: <20111128130636.09dee43e@skate> X-Provags-ID: V02:K0:VjnL1Xu2Z17hYnTbKq41Gn4Ezp17TtCHHiKY4jd6hVs h0hkxxW/GAevnSiSO7qqwmHwQWH5z6yAcXNkk2ODgnaUcMVd9M 6UBQkMkBXxwAXB7vYUenWP5vbebbl9ji7UE+oLtGBgioHWQgtE J+jjuzSPDav63s3mGJrPqe67jS8ppLMrklwX6gm5WFwnoOjpLu FdLBKZZBWiNWjX+2mmPZMX41qv7DRbny67PuENIwUWhAZdAPXd 75z50xSfR2I2IGI6M++eaFrE/f3CIjWmnI0bcRAWhbldt4urwo MLSY3SeskkTYxr2cCGDZB1fX8UU1K4CbzvCrMM1WD3/KNsxdBi Hvq53vYTc9W8dyrOttMFESRq18uFnNbYkMIboS3Zl1By5RM9xZ +dNMBLolqJl6Q== Subject: [Buildroot] [PATCH] 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 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 --- 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