Skip to contentSkip to conversation

Fix bug with dependencies of *-rebuild and *-reconfigure

PATCH New Jérôme Pouiller 2 participants 2 messages May 13, 2013 – Aug 13, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix bug with dependencies of *-rebuild and *-reconfigure

If targets $PKG-rebuild or $PKG-reconfigure are launched on a not fully built directory, Buildroot finish build of all packages instead of only build asked package.

---
 package/pkg-generic.mk |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/pkg-generic.mk +2 -2
index b55b5f0..d25797c 100644
@@ -437,12 +437,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)
 
 # define the PKG variable for all targets, containing the
 # uppercase package variable prefix
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 Fix bug with dependencies of *-rebuild and *-reconfigure

Dear J?r?me Pouiller,

Quoted 5 lines · J?r?me Pouiller

If targets $PKG-rebuild or $PKG-reconfigure are launched on a not fully built directory, Buildroot finish build of all packages instead of only build asked package.

Applied to the next branch, after rewording the commit message. This patch is not fixing a bug at all, it's changing what was an intended behavior.

Thanks!

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com