[Buildroot] [PATCH] Fix bug with dependencies of *-rebuild and *-reconfigure

Jérôme Pouiller jezz at sysmic.org
Mon May 13 15:25:41 UTC 2013


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.

Signed-off-by: Jérôme Pouiller <jezz at sysmic.org>
---
 package/pkg-generic.mk |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk
index b55b5f0..d25797c 100644
--- a/package/pkg-generic.mk
+++ b/package/pkg-generic.mk
@@ -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
-- 
1.7.9.5



More information about the buildroot mailing list