From patchwork Tue May 15 18:43:03 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas De Schampheleire X-Patchwork-Id: 159412 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 E20A5B6FBA for ; Wed, 16 May 2012 04:43:40 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D9E878CEAC; Tue, 15 May 2012 18:43:39 +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 vDU7zzO6VZlD; Tue, 15 May 2012 18:43:36 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id C61158CE79; Tue, 15 May 2012 18:43:33 +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 C78518F76A for ; Tue, 15 May 2012 18:43:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id AFBC88CE93 for ; Tue, 15 May 2012 18:43:31 +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 vJzeIFZ0aFKQ for ; Tue, 15 May 2012 18:43:27 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ey0-f171.google.com (mail-ey0-f171.google.com [209.85.215.171]) by whitealder.osuosl.org (Postfix) with ESMTPS id 054BC8CEBA for ; Tue, 15 May 2012 18:43:26 +0000 (UTC) Received: by eaaa12 with SMTP id a12so2844113eaa.16 for ; Tue, 15 May 2012 11:43:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:content-type:mime-version:content-transfer-encoding:subject :x-mercurial-node:message-id:user-agent:date:from:to:cc; bh=zh/QFbE2A9DcCe8PuFhvR214cVt26K8KkJzUbXjfdJ4=; b=PJ7AsaZhVv+xEXYcU9CbiavZQGZLAd4hKVIhgB34HhRi9BIH6+W1WPmt+hO4gL9PFj EzARyfQHZxckWyM+xacE/MFbXTm4Cx7hrK2VWUwSm8Bmk3lFwhNcP4J39caF3cutxccQ foq3FCxaro98NtJrL1hmxeudmr0kyknjMISYzBIMqUOXV28j21Kczy8an+D6r76wsRua eQ9Somj33z41Vq9JJwwIW47zwuy4XUXys4v38JOXDBbg8d6kgpf/nU4WIEYtqi69Bnyi etraQSeEHqD21k4lzth6Z1Uv63svaVbpumlO/mc96SZ7a5AY53D0qpkf/TEhIMI2RhuP CaNQ== Received: by 10.213.4.200 with SMTP id 8mr735491ebs.27.1337107405211; Tue, 15 May 2012 11:43:25 -0700 (PDT) Received: from [127.0.1.1] (d54C62A5A.access.telenet.be. [84.198.42.90]) by mx.google.com with ESMTPS id s54sm110892164eeb.4.2012.05.15.11.43.24 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 15 May 2012 11:43:24 -0700 (PDT) MIME-Version: 1.0 X-Mercurial-Node: cceaa854b98654b39b1fc28a4034d1cde3e72d0c Message-Id: User-Agent: Mercurial-patchbomb/1.9.1 Date: Tue, 15 May 2012 20:43:03 +0200 From: Thomas De Schampheleire To: buildroot@busybox.net Subject: [Buildroot] [PATCH resend] source-check: change behavior to check only selected packages / add source-check-all 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: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net The original 'source-check' target first selects all packages, and then checks whether the package tarballs can be found. This is useful for Buildroot maintainers, but less useful for developers working on a specific project. The latter only care about the packages used in that project. This patch removes the allyesconfig dependency to source-check so that only selected packages are checked. The original behavior is moved to a new target 'source-check-all'. Signed-off-by: Thomas De Schampheleire Acked-by: Arnout Vandecappelle (Essensium/Mind) Acked-by: Luca Ceresoli Acked-by: Thomas Petazzoni --- Makefile | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -48,7 +48,7 @@ export BR2_VERSION_FULL:=$(BR2_VERSION)$ noconfig_targets:=menuconfig nconfig gconfig xconfig config oldconfig randconfig \ defconfig %_defconfig savedefconfig allyesconfig allnoconfig silentoldconfig release \ randpackageconfig allyespackageconfig allnopackageconfig \ - source-check print-version + source-check source-check-all print-version # Strip quotes and then whitespaces qstrip=$(strip $(subst ",,$(1))) @@ -584,7 +584,8 @@ savedefconfig: $(BUILD_DIR)/buildroot-co @$(COMMON_CONFIG_ENV) $< --savedefconfig=$(CONFIG_DIR)/defconfig $(CONFIG_CONFIG_IN) # check if download URLs are outdated -source-check: allyesconfig +source-check-all: allyesconfig source-check +source-check: $(MAKE) DL_MODE=SOURCE_CHECK $(EXTRAMAKEARGS) source endif # ifeq ($(BR2_HAVE_DOT_CONFIG),y) @@ -671,7 +672,8 @@ endif @echo @echo 'Miscellaneous:' @echo ' source - download all sources needed for offline-build' - @echo ' source-check - check all packages for valid download URLs' + @echo ' source-check - check selected packages for valid download URLs' + @echo ' source-check-all - check all packages for valid download URLs' @echo ' external-deps - list external packages used' @echo @echo ' make V=0|1 - 0 => quiet build (default), 1 => verbose build'