From patchwork Tue Mar 20 23:09:55 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Martin X-Patchwork-Id: 147859 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 3CBD6B6ED0 for ; Wed, 21 Mar 2012 10:11:44 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 40BB410105E; Tue, 20 Mar 2012 23:11:43 +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 Vns1sEl2p97K; Tue, 20 Mar 2012 23:11:37 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7E07C100E41; Tue, 20 Mar 2012 23:11:05 +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 115D98F75B for ; Tue, 20 Mar 2012 23:10:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E421B8D071 for ; Tue, 20 Mar 2012 23:10:57 +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 O5fmcCDfIjUJ for ; Tue, 20 Mar 2012 23:10:55 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) by whitealder.osuosl.org (Postfix) with ESMTPS id A42878D0AB for ; Tue, 20 Mar 2012 23:10:54 +0000 (UTC) Received: by mail-wi0-f181.google.com with SMTP id hr17so694410wib.10 for ; Tue, 20 Mar 2012 16:10:54 -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=JeG5IjDaLMlwERnXS8PHCzC+zXvtiR4ieE7yncK8RbI=; b=EakyddqWALMuS0RjRR4HTlgdOkFtiD4WWpB+vM8/3tpbzbRKCKH3gdhfOdVJGB8R3P LammouaOqrAlLWV+4auZqrs8URXlgYfoPzoKKe7HTDde3gVyYMhFIqCTxCuc/6x1ifKy VAdQNA/+QMoXdr24Z+/sTWWJYESgrHKfTBM+6vweA1u8Xo4JwQLV98Ls0OllMG9dOYAk Db5gMaDM3JoAMvtREI/O4SW3hDJFZlfRRUy2HgVuQ7J6yb8WgYLF1ap0VM3hk1cHv3Ij bLM3cq79vfnHNnYbrPttj1lSaFfFfKOkAwwHlGIDgIvUiYpMldEGJtv23mYG8elMI40X XZCw== Received: by 10.216.135.69 with SMTP id t47mr877156wei.85.1332285054258; Tue, 20 Mar 2012 16:10:54 -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 fz9sm37727837wib.3.2012.03.20.16.10.52 (version=SSLv3 cipher=OTHER); Tue, 20 Mar 2012 16:10:53 -0700 (PDT) From: Samuel MARTIN To: buildroot@busybox.net Date: Wed, 21 Mar 2012 00:09:55 +0100 Message-Id: <1332285001-12881-6-git-send-email-s.martin49@gmail.com> X-Mailer: git-send-email 1.7.9.4 In-Reply-To: <1332285001-12881-1-git-send-email-s.martin49@gmail.com> References: <1332285001-12881-1-git-send-email-s.martin49@gmail.com> Subject: [Buildroot] [PATCH 05/11] manual: update 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 Signed-off-by: Samuel MARTIN --- docs/manual/make-tips.txt | 46 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/docs/manual/make-tips.txt b/docs/manual/make-tips.txt index 646efdf..a512689 100644 --- a/docs/manual/make-tips.txt +++ b/docs/manual/make-tips.txt @@ -1,2 +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[].