From patchwork Fri Jun 22 05:38:42 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: 166503 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 953D6B6F77 for ; Fri, 22 Jun 2012 15:39:12 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id AAAEE31DBE; Fri, 22 Jun 2012 05:39:10 +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 Mb7AiJ9V63At; Fri, 22 Jun 2012 05:39:08 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 3A60B2539A; Fri, 22 Jun 2012 05:39:08 +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 E97928F753 for ; Fri, 22 Jun 2012 05:39:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D21BA81C39 for ; Fri, 22 Jun 2012 05:39: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 hugo86tOa+VX for ; Fri, 22 Jun 2012 05:39:04 +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 D562F81656 for ; Fri, 22 Jun 2012 05:39:03 +0000 (UTC) Received: by eeke50 with SMTP id e50so809026eek.16 for ; Thu, 21 Jun 2012 22:39:01 -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=lOZA1UPYbV+UAnOiyjsIlGixg/nupeqNgUS9vPvAw4BoYdi0uDrt2dPtRoef/lMwfF pXrplbwXelNIQYUIaueqMJLa5cULglVN2jUSza3eeuoCuB9YBpuoV4hcxsTScZRxlyi9 q22OIxFy76QMFKB6bRSL07T2edJWsEm3mDFaqAQ3XAOX8CROnjNjupX/vwLAgxpL/aml XdPmic/NDQPAh6Ewj0ggfzcIvgljCumzo1ClJWCq0uiXRnq66mdMpZuqXizqzXDX8qHB pb012t2tdzyvTZLkZaR4gEeHSrvPcvyuHpyREsXllF4EFwCmN1GBlfCb8cL1zrEgTDGO LTtw== Received: by 10.14.47.130 with SMTP id t2mr171202eeb.21.1340343541683; Thu, 21 Jun 2012 22:39:01 -0700 (PDT) Received: from [127.0.1.1] (d54C62EEB.access.telenet.be. [84.198.46.235]) by mx.google.com with ESMTPS id u14sm109218843eem.4.2012.06.21.22.39.00 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 21 Jun 2012 22:39:00 -0700 (PDT) MIME-Version: 1.0 X-Mercurial-Node: fef39461f25270f81f06321e2e81dd362d26f1c0 Message-Id: User-Agent: Mercurial-patchbomb/2.0.2 Date: Fri, 22 Jun 2012 07:38:42 +0200 From: Thomas De Schampheleire To: buildroot@busybox.net, jacmet@sunsite.dk Subject: [Buildroot] [PATCH resend3] 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'