From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?C=C3=A9dric_Marie?= Date: Mon, 30 Jun 2014 11:07:21 +0200 Subject: [Buildroot] rsync forces configure step In-Reply-To: References: <1f09233e5be11d75394054a20c4631cd@openmailbox.org> <20140613140908.532d1852@free-electrons.com> <5ad7ccb84a6c2b6d18526aeab1f9c65c@openmailbox.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Le 2014-06-30 10:55, Fabio Porcedda a ?crit?: > The problem is that the stamp file for rsync is being removed with the > "-rebuild" command, so i think that the right fix is: > > diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk > index 54193d2..67821ec 100644 > --- a/package/pkg-generic.mk > +++ b/package/pkg-generic.mk > @@ -569,9 +569,6 @@ $(1)-graph-depends: graph-depends-requirements > $(1)-dirclean: $$($(2)_TARGET_DIRCLEAN) > > $(1)-clean-for-rebuild: > -ifneq ($$($(2)_OVERRIDE_SRCDIR),) > - rm -f $$($(2)_TARGET_RSYNC) > -endif > rm -f $$($(2)_TARGET_BUILD) > rm -f $$($(2)_TARGET_INSTALL_STAGING) > rm -f $$($(2)_TARGET_INSTALL_TARGET) > > The problem is not related to top-level parallel build, the problem > was present even the previous release (2014.02), the problem was > always existed sine the introduction of the "-rebuild" feature: > > http://git.buildroot.net/buildroot/commit/?id=4ed4e5016b741341059ed826416dad3291df0b2c > Author: Thomas Petazzoni > Date: Thu Sep 29 21:57:39 2011 +0200 > package: add -rebuild and -reconfigure > > Thomas do you know why you removed the sync stamp file? > > BR Sorry, but I believe that removing the rsync stamp file is necessary when rebuilding. When you modify your local source files, you want them to be synchronized when rebuilding. The regression is forcing the configure step, which was not present in 2014.02. Regards, -- C?dric