From patchwork Tue Jun 5 19:32:31 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: 163155 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 9F434B6F9A for ; Wed, 6 Jun 2012 05:33:11 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 848D810B928; Tue, 5 Jun 2012 19:33:10 +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 AIbU5eEtjj8j; Tue, 5 Jun 2012 19:33:07 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id BE8BB101D10; Tue, 5 Jun 2012 19:33:07 +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 6550A8F753 for ; Tue, 5 Jun 2012 19:33:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 5E4238C8EE for ; Tue, 5 Jun 2012 19:33:06 +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 XDN2LoxHyLHC for ; Tue, 5 Jun 2012 19:33:05 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ee0-f43.google.com (mail-ee0-f43.google.com [74.125.83.43]) by whitealder.osuosl.org (Postfix) with ESMTPS id 0A1F78A301 for ; Tue, 5 Jun 2012 19:33:04 +0000 (UTC) Received: by eeke50 with SMTP id e50so3171344eek.16 for ; Tue, 05 Jun 2012 12:33:03 -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=6sbwNd6dwmbocOHgUigX57lG/L6Euy0a+/mqlxnqC+I=; b=xF81Xv8gxSwQv0qjwJFIYzrneL6D8deYyCfBLSnLagTBXydrRYaphbS1KvD0vPp+4l 8u0i/2LzDEtPqGdH2DX18JURGzFw/9MvGdnVNBIp8GwmzZArrFUVYC0e3kQmrooS+cNS UqB6W9L5PrV7z/qGnseZDLEOFb0y53PLjH2SFmBml7Tp3aeml+FHferX0LgMv/Rhwgwo hTFpF+IR5HnKnzgR3YwGG2cw7yYH0BD14+ubXfqTwgzsW8uKyBwgwk4f9ki3wl6pNype pEMKVURo6vHYiReaMWO+xa4GhrXgbt1o7hy8GOB6lJZpMVd6jOVCqbW6/rY7nFFi4DJS XcUw== Received: by 10.14.28.198 with SMTP id g46mr7354562eea.207.1338924783150; Tue, 05 Jun 2012 12:33:03 -0700 (PDT) Received: from [127.0.1.1] (d54C62A5A.access.telenet.be. [84.198.42.90]) by mx.google.com with ESMTPS id g51sm9357661eea.14.2012.06.05.12.33.01 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 05 Jun 2012 12:33:02 -0700 (PDT) MIME-Version: 1.0 X-Mercurial-Node: 93a60650611fae1b82e35f29fcc4a44babeda64f Message-Id: <93a60650611fae1b82e3.1338924751@beantl019720> User-Agent: Mercurial-patchbomb/2.0.2 Date: Tue, 05 Jun 2012 21:32:31 +0200 From: Thomas De Schampheleire To: buildroot@busybox.net Subject: [Buildroot] [PATCH resend2] 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))) @@ -585,7 +585,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) @@ -672,7 +673,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'