All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH resend] source-check: change behavior to check only selected packages / add source-check-all
@ 2012-05-15 18:43 Thomas De Schampheleire
  2012-05-15 20:45 ` Arnout Vandecappelle
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Thomas De Schampheleire @ 2012-05-15 18:43 UTC (permalink / raw)
  To: buildroot

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 <thomas.de.schampheleire@gmail.com>

---
 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'

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH resend] source-check: change behavior to check only selected packages / add source-check-all
  2012-05-15 18:43 [Buildroot] [PATCH resend] source-check: change behavior to check only selected packages / add source-check-all Thomas De Schampheleire
@ 2012-05-15 20:45 ` Arnout Vandecappelle
  2012-05-16 11:02 ` Luca Ceresoli
  2012-05-16 11:41 ` Thomas Petazzoni
  2 siblings, 0 replies; 4+ messages in thread
From: Arnout Vandecappelle @ 2012-05-15 20:45 UTC (permalink / raw)
  To: buildroot

On 05/15/12 20:43, Thomas De Schampheleire wrote:
> 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<thomas.de.schampheleire@gmail.com>

Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>

-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH resend] source-check: change behavior to check only selected packages / add source-check-all
  2012-05-15 18:43 [Buildroot] [PATCH resend] source-check: change behavior to check only selected packages / add source-check-all Thomas De Schampheleire
  2012-05-15 20:45 ` Arnout Vandecappelle
@ 2012-05-16 11:02 ` Luca Ceresoli
  2012-05-16 11:41 ` Thomas Petazzoni
  2 siblings, 0 replies; 4+ messages in thread
From: Luca Ceresoli @ 2012-05-16 11:02 UTC (permalink / raw)
  To: buildroot

Thomas De Schampheleire wrote:
> 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<thomas.de.schampheleire@gmail.com>
>

Acked-by: Luca Ceresoli <luca@lucaceresoli.net>

Luca

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH resend] source-check: change behavior to check only selected packages / add source-check-all
  2012-05-15 18:43 [Buildroot] [PATCH resend] source-check: change behavior to check only selected packages / add source-check-all Thomas De Schampheleire
  2012-05-15 20:45 ` Arnout Vandecappelle
  2012-05-16 11:02 ` Luca Ceresoli
@ 2012-05-16 11:41 ` Thomas Petazzoni
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2012-05-16 11:41 UTC (permalink / raw)
  To: buildroot

Le Tue, 15 May 2012 20:43:03 +0200,
Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com> a ?crit :

> 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 <thomas.de.schampheleire@gmail.com>

Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-05-16 11:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-15 18:43 [Buildroot] [PATCH resend] source-check: change behavior to check only selected packages / add source-check-all Thomas De Schampheleire
2012-05-15 20:45 ` Arnout Vandecappelle
2012-05-16 11:02 ` Luca Ceresoli
2012-05-16 11:41 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.