From patchwork Sat Apr 25 14:43:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 464569 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 C26AB14007F for ; Sun, 26 Apr 2015 00:44:20 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 23FC1A3451; Sat, 25 Apr 2015 14:44:19 +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 6Fdea71J_G6n; Sat, 25 Apr 2015 14:44:16 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 10B9AA3475; Sat, 25 Apr 2015 14:44:01 +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 A45F91C24FA for ; Sat, 25 Apr 2015 14:43:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id A0C8D961DA for ; Sat, 25 Apr 2015 14:43:23 +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 Sr0NDv5fVctI for ; Sat, 25 Apr 2015 14:43:22 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (down.free-electrons.com [37.187.137.238]) by hemlock.osuosl.org (Postfix) with ESMTP id A9ACD95E80 for ; Sat, 25 Apr 2015 14:43:22 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id 46B4A6CB; Sat, 25 Apr 2015 16:43:21 +0200 (CEST) Received: from localhost (AToulouse-657-1-1068-133.w90-50.abo.wanadoo.fr [90.50.134.133]) by mail.free-electrons.com (Postfix) with ESMTPSA id 374276DB; Sat, 25 Apr 2015 16:43:19 +0200 (CEST) From: Thomas Petazzoni To: Buildroot List Date: Sat, 25 Apr 2015 16:43:02 +0200 Message-Id: <1429972982-25495-19-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1429972982-25495-1-git-send-email-thomas.petazzoni@free-electrons.com> References: <1429972982-25495-1-git-send-email-thomas.petazzoni@free-electrons.com> Cc: Thomas Petazzoni , "Yann E. MORIN" Subject: [Buildroot] [PATCHv3 18/18] Makefile: add a few more targets to nobuild_targets X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 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" With this commit, one can now execute the source-check, external-deps and legal-info targets regardless of the checks normally being done by packages on the configuration. Note that we intentionally do not go down the road of adding %-source, %-legal-info, and the miryad of other targets that could work in such situations. We only whitelist a few targets that are really useful to have as nobuild_targets. Signed-off-by: Thomas Petazzoni --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e0be636..2d7c05a 100644 --- a/Makefile +++ b/Makefile @@ -86,7 +86,7 @@ noconfig_targets := menuconfig nconfig gconfig xconfig config oldconfig randconf # We're building in two situations: when MAKECMDGOALS is empty # (default target is to build), or when MAKECMDGOALS contains # something else than one of the nobuild_targets. -nobuild_targets := source +nobuild_targets := source source-check legal-info external-deps _external-deps ifeq ($(MAKECMDGOALS),) BR_BUILDING = y else ifneq ($(filter-out $(nobuild_targets),$(MAKECMDGOALS)),)