From patchwork Fri Apr 6 20:22:14 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: 151267 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 5ACBCB7099 for ; Sat, 7 Apr 2012 06:22:36 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 7854526670; Fri, 6 Apr 2012 20:22:34 +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 0ZLaOsajkMtv; Fri, 6 Apr 2012 20:22:33 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id B5A4A2EE5F; Fri, 6 Apr 2012 20:22: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 BDFD98F753 for ; Fri, 6 Apr 2012 20:22:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id B10128FC11 for ; Fri, 6 Apr 2012 20:22: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 S2nmKVIXeCvQ for ; Fri, 6 Apr 2012 20:22:30 +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 6743E8FA5D for ; Fri, 6 Apr 2012 20:22:30 +0000 (UTC) Received: by eekc13 with SMTP id c13so993323eek.16 for ; Fri, 06 Apr 2012 13:22:28 -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=Iqgayldy1paGIzphnQHjpVjUaJiZopPT8TFpm+D+n94=; b=C3/zLJ32GRvV3c1cMQLsbYCYu5pFftTTFW5IUrnHhmAvNXe3L8lGVKmckz5TCtUPyq 7BLpkyPAbYgsEtz3iJXns4IOhqY53njZxlTGzG/CABGYbyez465sb+ouNBCEJQrjw3jp QX29FmEIf8lCI4WTF0K4Kkcu2hj+faUaYN46gcYAtl2fC5zBrRlW6Aw/SjRIXTJo3ImJ XSsjhMjm8osLlFmKOjH54st/TK/8k6sIwdVieMrBuvGJoht6uX6Cbt/343ugFjcro3U7 tk4rJDkHJYDIw14TZQDBCoknneNRS2Kir5e9G8ZuQun9Kc59qkGRODV1pl8OYWVtADLy WwIQ== Received: by 10.213.20.15 with SMTP id d15mr776635ebb.117.1333743748715; Fri, 06 Apr 2012 13:22:28 -0700 (PDT) Received: from [127.0.1.1] (94-227-97-70.access.telenet.be. [94.227.97.70]) by mx.google.com with ESMTPS id n55sm29809935eef.6.2012.04.06.13.22.27 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 06 Apr 2012 13:22:28 -0700 (PDT) MIME-Version: 1.0 X-Mercurial-Node: cc2fef1a0ddf7206355308ce8c026d1cb6c95cf8 Message-Id: User-Agent: Mercurial-patchbomb/1.9.1 Date: Fri, 06 Apr 2012 22:22:14 +0200 From: Thomas De Schampheleire To: buildroot@busybox.net Subject: [Buildroot] [PATCH] 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 --- 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))) @@ -613,7 +613,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) @@ -697,7 +698,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'