build: use $(clean) shorthand for clean targets
authorAnthony PERARD <anthony.perard@citrix.com>
Fri, 6 Mar 2020 09:14:18 +0000 (10:14 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 6 Mar 2020 09:14:18 +0000 (10:14 +0100)
commitdeacf17ae3aef81df20263dc45980d8436d90bba
treee8c230b6b7061f80386dd5a413dc1f124ad2fefc
parent6e290e389de3d8cf1d146e9a45ca312c4d116f34
build: use $(clean) shorthand for clean targets

Collect all the clean targets as we are going to modify it shortly.
Also, this is inspired by Linux's Kbuild.

"Kbuild.include" isn't included by "Makefile", but the "_clean" target
is only used by Rules.mk which include Kbuild.include.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/Makefile
xen/Rules.mk
xen/scripts/Kbuild.include