From: Arnout Vandecappelle Date: Thu, 5 Oct 2017 19:52:44 +0200 Subject: [Buildroot] [PATCH] Create 'make -show-rrdepends' command In-Reply-To: <909405437.12454753.1507203417835.JavaMail.zimbra@datacom.ind.br> References: <1493305458-15309-1-git-send-email-george.redivo@datacom.ind.br> <1507033962-5566-1-git-send-email-casantos@datacom.ind.br> <63a3e218-f37c-649b-fc48-0e9c0a892a10@mind.be> <909405437.12454753.1507203417835.JavaMail.zimbra@datacom.ind.br> Message-ID: <035c7e77-706f-1f8b-dda8-3dbac3d14d39@mind.be> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On 05-10-17 13:36, Henrique Marks wrote: > Hello all > > ----- Mensagem original ----- >> De: "Arnout Vandecappelle" >> Para: "Carlos Santos" , buildroot at buildroot.org >> Cc: "George Redivo" >> Enviadas: Quarta-feira, 4 de outubro de 2017 13:18:32 >> Assunto: Re: [Buildroot] [PATCH] Create 'make -show-rrdepends' command > >> On 03-10-17 14:32, Carlos Santos wrote: >>> From: George Redivo >>> >>> 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 -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