[Buildroot] [PATCH] Create 'make <pkt>-show-rrdepends' command

Arnout Vandecappelle arnout at mind.be
Thu Oct 5 17:52:44 UTC 2017



On 05-10-17 13:36, Henrique Marks wrote:
> Hello all
> 
> ----- Mensagem original -----
>> De: "Arnout Vandecappelle" <arnout at mind.be>
>> Para: "Carlos Santos" <casantos at datacom.ind.br>, buildroot at buildroot.org
>> Cc: "George Redivo" <george.redivo at datacom.ind.br>
>> Enviadas: Quarta-feira, 4 de outubro de 2017 13:18:32
>> Assunto: Re: [Buildroot] [PATCH] Create 'make <pkt>-show-rrdepends' command
> 
>> On 03-10-17 14:32, Carlos Santos wrote:
>>> From: George Redivo <george.redivo at datacom.ind.br>
>>>
>>> Hello,
>>>
>>> Looks like this https://patchwork.ozlabs.org/patch/756075/ was accepted by
>>> Arnout but was left behind. Could we have it applied, please?
>>
>> I didn't exactly "accept" this patch. I thought the implementation was
>> acceptable, but I wasn't entirely sure the use case was important enough to
>> warrant the additional complexity.
>>
>> If I understand the use case correctly, what you want is that you have changed
>> something in package A, so you want to rebuild package A and all its recursive
>> dependencies. For that, a recursive dirclean is probably more appropriate:
>>
>> $(1)-dirclean-recursive: $(1)-dirclean $$(patsubst
>> %,%-dirclean-recursive,$$($(2)_FINAL_ALL_DEPENDENCIES))
>>
> 
> Not exactly the same i guess, i think this will rebuild package A and all its dependencies (we are going "down" on dependencies).
> 
> The point of this script is to rebuild package A and all those who depends on it (we are going "up" on dependencies).
> 
> Based on previous work done on the reverse-dependencies (make <pkg>-show-rdepends), this has been turned in recursive-reverse-dependencies.

 Ah right of course, I was getting confused by the double r (reverse-reverse,
but of course it means recursive-reverse...).


 Regards,
 Arnout

-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF


More information about the buildroot mailing list