From patchwork Sun May 13 10:38:15 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Martin X-Patchwork-Id: 158816 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id BB38EB700A for ; Sun, 13 May 2012 20:40:42 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 3774B1011AA; Sun, 13 May 2012 10:40:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EgnFcV4hlkKI; Sun, 13 May 2012 10:40:38 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id DF0AF10133A; Sun, 13 May 2012 10:40:29 +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 D7E4F8F75B for ; Sun, 13 May 2012 10:39:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id B8B4681FE4 for ; Sun, 13 May 2012 10:39:34 +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 ubm9pIlrx9V3 for ; Sun, 13 May 2012 10:39:30 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f53.google.com (mail-wg0-f53.google.com [74.125.82.53]) by whitealder.osuosl.org (Postfix) with ESMTPS id 5DAE78296E for ; Sun, 13 May 2012 10:39:30 +0000 (UTC) Received: by mail-wg0-f53.google.com with SMTP id fm10so3721346wgb.10 for ; Sun, 13 May 2012 03:39:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=LJjlEmm4OIjgxfplqCU2x5VeBNW3iqw+066mSRiuqPk=; b=PsRFPz8qZM9si0Km0vMP8L3vQuKpAY61gQMQMNGY/X2imX6hq5vG09KC6vJHxmENNf rMq5iJ0hJQ04OZpcEXSsEQuR5af8BDeU1mKI2P56fhkgmkPTyvWXUGvk9Qf/iIc8fUE6 LAaLIV8KGGltbthsNY23asY4RZp9Ej1UW5cr2z76ErVPDC0gIpqljprhyv9iNBbFzzGX oc7s+KoRl/461eaqOzublYZv17iZSwatetY4yvvPWuWoVxoBStrUEG13GJSuokZvi11y 8QegjwUivKpdgODYCLcS3xkcBynaWAvVDaw1EpQe3YOjYci686u3nbPVE1ddIX6HREId 6Q/g== Received: by 10.180.78.233 with SMTP id e9mr2261733wix.5.1336905569992; Sun, 13 May 2012 03:39:29 -0700 (PDT) Received: from localhost.localdomain (ivr94-4-82-229-165-48.fbx.proxad.net. [82.229.165.48]) by mx.google.com with ESMTPS id r2sm41271946wif.7.2012.05.13.03.39.28 (version=SSLv3 cipher=OTHER); Sun, 13 May 2012 03:39:29 -0700 (PDT) From: Samuel Martin To: buildroot@busybox.net Date: Sun, 13 May 2012 12:38:15 +0200 Message-Id: <1336905501-9757-6-git-send-email-s.martin49@gmail.com> X-Mailer: git-send-email 1.7.10.2 In-Reply-To: <1336905501-9757-1-git-send-email-s.martin49@gmail.com> References: <4FAEEFA8.2070005@mind.be> <1336905501-9757-1-git-send-email-s.martin49@gmail.com> Subject: [Buildroot] [PATCH v2 05/11] manual: add make-tips.txt 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 From: Samuel MARTIN Signed-off-by: Samuel Martin create mode 100644 docs/manual/make-tips.txt diff --git a/docs/manual/make-tips.txt b/docs/manual/make-tips.txt new file mode 100644 index 0000000..a512689 --- /dev/null +++ b/docs/manual/make-tips.txt @@ -0,0 +1,48 @@ +[[make-tips]] +'make' tips +----------- + +Because Buildroot is a set of Makefiles and patches, there are few +things useful to know, such as: + +Display all command executed by make: + +-------------------- + $ make V=0|1 +-------------------- + +Display all available targets: + +-------------------- + $ make help +-------------------- + +Note that, some settings in the +.config+ file may hide some targets +like: + +* +busybox-menuconfig+ depends whether +busybox+ is enabled or not in + the +Package selection+ menu +* +linux-menuconfig+ and +linux-savedefconfig+ depends on whether + +linux+ is enabled or not +* +uclibc-menuconfig+ depends on whether the toolchain uses the + Buildroot internal toolchain backend or not +* +ctng-menuconfig+ depends on whether the toolchain uses the + crosstool-NG backend or not +* +barebox-menuconfig+ and +barebox-savedefconfig+ depends on whether + +barebox+ bootloader is enabled or not + +Delete all build products (including build directories, host, staging +and target trees, the images and the toolchain): + +-------------------- + $ make clean +-------------------- + +Delete all build products as well as the configuration: + +-------------------- + $ make distclean +-------------------- + +Note that if +ccache+ is enabled, running +make clean|distclean+ does +not empty the Buildroot's cache. To delete it, refer to xref:ccache[]. diff --git a/docs/manual/working-with.txt b/docs/manual/working-with.txt index e444204..01f1041 100644 --- a/docs/manual/working-with.txt +++ b/docs/manual/working-with.txt @@ -2,6 +2,8 @@ Working with Buildroot ====================== [[working-with-br]] +include::make-tips.txt[] + include::customize.txt[] include::common-usage.txt[]