Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] pkg-infra: limit -reconfigure and -rebuild actions
@ 2012-07-20 13:39 Richard Braun
  2012-07-20 15:34 ` Émeric Vigier
  2012-07-20 20:27 ` Thomas Petazzoni
  0 siblings, 2 replies; 16+ messages in thread
From: Richard Braun @ 2012-07-20 13:39 UTC (permalink / raw)
  To: buildroot

The -reconfigure and -rebuild per package targets unconditionally
recreate the root filesystem image by depending on the all target.
Restrict their actions to their package instead.

Signed-off-by: Richard Braun <rbraun@sceen.net>
---
 package/pkg-generic.mk |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk
index c01440e..f5b05a3 100644
--- a/package/pkg-generic.mk
+++ b/package/pkg-generic.mk
@@ -389,12 +389,12 @@ endif
 			rm -f $$($(2)_TARGET_INSTALL_IMAGES)
 			rm -f $$($(2)_TARGET_INSTALL_HOST)
 
-$(1)-rebuild:		$(1)-clean-for-rebuild all
+$(1)-rebuild:		$(1)-clean-for-rebuild $(1)
 
 $(1)-clean-for-reconfigure: $(1)-clean-for-rebuild
 			rm -f $$($(2)_TARGET_CONFIGURE)
 
-$(1)-reconfigure:	$(1)-clean-for-reconfigure all
+$(1)-reconfigure:	$(1)-clean-for-reconfigure $(1)-configure
 
 # define the PKG variable for all targets, containing the
 # uppercase package variable prefix
-- 
1.7.2.5

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

end of thread, other threads:[~2012-12-14 13:49 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-20 13:39 [Buildroot] [PATCH] pkg-infra: limit -reconfigure and -rebuild actions Richard Braun
2012-07-20 15:34 ` Émeric Vigier
2012-07-20 15:58   ` Richard Braun
2012-07-20 21:55     ` Émeric Vigier
2012-07-20 20:27 ` Thomas Petazzoni
2012-07-20 23:31   ` Richard Braun
2012-07-21 12:54     ` Thomas Petazzoni
2012-07-21 15:17       ` Richard Braun
2012-07-21 16:14         ` Samuel Martin
2012-07-22 18:27           ` Alex Bradbury
2012-12-14 13:49             ` Arnout Vandecappelle
2012-07-24 23:07           ` Arnout Vandecappelle
2012-08-02 13:28             ` Alex Bradbury
2012-08-02 13:36               ` Thomas Petazzoni
2012-09-21 16:57                 ` Alex Bradbury
2012-07-22 19:20   ` Stephan Hoffmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox