From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Wed, 16 Jul 2014 10:09:19 +0200 Subject: [Buildroot] [PATCH] Add target-clean makefile target In-Reply-To: References: <1403778551-31435-1-git-send-email-angelo.compagnucci@gmail.com> <20140715225415.08f5a5a6@free-electrons.com> <20140715233320.46a95f1a@free-electrons.com> Message-ID: <20140716100919.3f8101c3@free-electrons.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Dear Angelo Compagnucci, On Wed, 16 Jul 2014 09:47:01 +0200, Angelo Compagnucci wrote: > > (7) is due to the fact that Git was not rebuilt, so it still believes > > that OpenSSL support is available. The scenario above is fairly simple, > > but there are many, many more similar but more subtle scenarios to > > screw things up. > > Good catch, but this could be documented somewhere. Right, but then a patch adding "make target-clean" should also be responsible for adding the appropriate documentation :-) > I think that is better to explain buildroot's users that they have to > rebuild a package when they mess it's dependencies instead of all the > whole rootfs! Compilation of a rootfs can take hours ... > Yes, I know, probably removing Openssl screws up a hundred of packages > and it's not practical to rebuild one by one, but I think this is a > corner case more than the rule. Not that much: any optional dependency in Buildroot will exhibit exactly the same behavior, and there are hundreds if not thousands of places were we rely on optional dependencies. By I tend to agree that we could provide the tool, provided that there is sufficient documentation to explain how to use it correctly. Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com