[Buildroot] [PATCH] Makefile: document make <package>-dirclean
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Fri Jun 20 10:11:54 UTC 2014
Dear Thomas De Schampheleire,
On Fri, 20 Jun 2014 11:40:10 +0200, Thomas De Schampheleire wrote:
> According to me, foo-dirclean is much more useful to the typical user
> than foo-rebuild or foo-reconfigure.
I agree.
> The latter two actions are
> typically used for OVERRIDE_SRCDIR only, right? While -dirclean can be
> used for any kind of (mis)action you performed.
Well, I also use -rebuild and -reconfigure when I directly hack into
output/build/<pkg>-<version>/ to do a quick test.
> So while I agree that some make targets should be listed to make sure
> the unsuspecting user is aware that they exist, dirclean would
> definitely be a part of this list, while rebuild/reconfigure need not
> necessarily IMO.
True.
> Maybe we should create a list of all the possible targets (here in
> this thread I mean) and then decide case-by-case if it's necessary to
> list them in 'make help' or not?
Another possible solution would be to have a <pkg>-help target that
lists all targets that are possible on a package, and then the main
"make help" only references that.
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