[Buildroot] [PATCH] Add target-clean makefile target
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Wed Jul 16 08:09:19 UTC 2014
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
More information about the buildroot
mailing list