From patchwork Tue Jan 15 08:02:00 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Porcedda X-Patchwork-Id: 212007 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 5C7FD2C0094 for ; Tue, 15 Jan 2013 19:02:30 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 73C3A1019F1; Tue, 15 Jan 2013 08:02:18 +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 uH7O4d57hkQ2; Tue, 15 Jan 2013 08:02:10 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7F031101AA6; Tue, 15 Jan 2013 08:01:57 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 2A41A8F79F for ; Tue, 15 Jan 2013 08:02:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id B38AF264EE for ; Tue, 15 Jan 2013 08:02:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YepIPwLpV2v1 for ; Tue, 15 Jan 2013 08:02:06 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-bk0-f42.google.com (mail-bk0-f42.google.com [209.85.214.42]) by silver.osuosl.org (Postfix) with ESMTPS id BED1B2017A for ; Tue, 15 Jan 2013 08:02:05 +0000 (UTC) Received: by mail-bk0-f42.google.com with SMTP id ji2so2408752bkc.29 for ; Tue, 15 Jan 2013 00:02:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:subject:date:message-id:x-mailer; bh=qB4ptY6S2H+zRsdxoqG9YJaRWeVfDgvOUqyumQvnr9E=; b=SitfiZhENTGTIJA0SkPP8/xB3OcV5QA9sQM8qk5lmJTP/0L3XlXNzYJwjFlees3vbV 1G/yRoHs9Lk57U13sQGyhx+SaaSxRSxakogKI8luPBE02S5Y29MpOggm8VC39BxEbVIt 1U5oq1W3ThdN7k/FfCj8UT5GDb1lJPKJ8G0hwL3PetZvtT3E9mBfVFZfREH/GcImxVNm 1w+LYeAquXP9XLuVk17tYoVoaxHjHakzVQKoZDoX83nhJn7VzT8Z3Oiec6/H8bBv6tBY gDBcm+akjRnYwL348os749pxE9OOoImmsnjAUNrA6oIwLNZSGWiXgXukk02SiNwJP4h1 EQiQ== X-Received: by 10.204.3.205 with SMTP id 13mr39271500bko.38.1358236923764; Tue, 15 Jan 2013 00:02:03 -0800 (PST) Received: from ld2036.tmt.telital.com ([213.205.6.118]) by mx.google.com with ESMTPS id e22sm11762775bke.14.2013.01.15.00.02.01 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 15 Jan 2013 00:02:02 -0800 (PST) From: Fabio Porcedda To: buildroot@uclibc.org Date: Tue, 15 Jan 2013 09:02:00 +0100 Message-Id: <1358236920-14210-1-git-send-email-fabio.porcedda@gmail.com> X-Mailer: git-send-email 1.8.0.3 Subject: [Buildroot] [PATCH v3] Makefile: rename cross target -> toolchain 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 - Use a more descriptive name, the same of the "toolchain" directory. - Add missing dependencies to be able to successfully use the target right after the configuration. - Move to a better position. - Documentation it in the help target. - Use toolchain target in the world target Signed-off-by: Fabio Porcedda Reviewed-by: Markos Chandras Acked-by: Arnout Vandecappelle (Essensium/Mind) Acked-by: Samuel Martin --- Changes: v3: - squashed as suggested by Samuel v2: - renamed cross to toolchain - use in world target Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 1fc51e9..6f8ed0e 100644 --- a/Makefile +++ b/Makefile @@ -392,9 +392,11 @@ $(BUILD_DIR)/buildroot-config/auto.conf: $(BUILDROOT_CONFIG) prepare: $(BUILD_DIR)/buildroot-config/auto.conf -world: prepare dirs dependencies $(BASE_TARGETS) $(TARGETS_ALL) +toolchain: prepare dirs dependencies $(BASE_TARGETS) -.PHONY: all world dirs clean distclean source outputmakefile \ +world: toolchain $(TARGETS_ALL) + +.PHONY: all world toolchain dirs clean distclean source outputmakefile \ legal-info legal-info-prepare legal-info-clean \ $(BASE_TARGETS) $(TARGETS) $(TARGETS_ALL) \ $(TARGETS_CLEAN) $(TARGETS_DIRCLEAN) $(TARGETS_SOURCE) $(TARGETS_LEGAL_INFO) \ @@ -715,8 +717,6 @@ ifeq ($(O),output) endif rm -rf $(BUILDROOT_CONFIG) $(CONFIG_DIR)/.config.old $(CONFIG_DIR)/.auto.deps -cross: $(BASE_TARGETS) - help: @echo 'Cleaning:' @echo ' clean - delete all files created by build' @@ -724,6 +724,7 @@ help: @echo @echo 'Build:' @echo ' all - make world' + @echo ' toolchain - build toolchain' @echo ' -rebuild - force recompile ' @echo ' -reconfigure - force reconfigure ' @echo