]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
Makefile: cleanup *clean targets
authorPeter Korsgaard <jacmet@sunsite.dk>
Fri, 20 Nov 2009 13:05:48 +0000 (14:05 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 20 Nov 2009 13:34:04 +0000 (14:34 +0100)
commit406053d5dc2e44b908ce77404c2750ef8b45dc11
tree9f773511b103ac363536aac282aa9f7c3a4a673f
parent83182dd28edfccd0cbfffd48f2bdfabc5939aedf
Makefile: cleanup *clean targets

As discussed on the list, fixup the *clean targets, so we now have:

clean: remove all generated files (E.G. everything in output/)
distclean: same as clean, but also remove the kconfig build and .config

Also tweak 'make help' output to match. This also merges the two
different clean / distclean targets we had depending on if there was
a .config present or not (most variables are not defined for !.config
case, so E.G. the clean target ends up being a noop).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
CHANGES
Makefile