[Buildroot] [PATCH 1/1] Force rebuild of local site packages and theirs local dependencies
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue Jun 16 19:50:22 UTC 2015
Dear Anthony Viallard,
On Tue, 16 Jun 2015 15:21:28 +0200, Anthony Viallard wrote:
> diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk
> index d5b29f0..929a31c 100644
> --- a/package/pkg-generic.mk
> +++ b/package/pkg-generic.mk
> @@ -509,6 +509,10 @@ ifeq ($$(filter $(1),$$(DEPENDENCIES_HOST_PREREQ)),)
> $$($(2)_TARGET_SOURCE) $$($(2)_TARGET_RSYNC): | dependencies
> endif
>
> +ifeq ($$($(2)_SITE_METHOD),local)
> +$$($(2)_TARGET_RSYNC): $(1)-clean-for-rebuild
> +endif
Why don't you use "make <pkg>-rebuild" or "make <pkg>-reconfigure" ?
The problem with your proposal is that you have arbitrarily decided to
make it always restart from the build step. What if some people want to
restart from the install step, or the configure step ?
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list