Re: [XEN PATCH v6 11/31] build: fix clean targets when subdir-y is used

2021-07-12 Thread Anthony PERARD
On Wed, Jul 07, 2021 at 05:15:44PM +0200, Jan Beulich wrote: > On 01.07.2021 16:09, Anthony PERARD wrote: > > The make variable $(subdir-y) isn't used yet but will be in a > > following patch. Anything in $(subdir-y) doesn't to have a '/' as > > suffix as we already now it's a directory. > > > > R

Re: [XEN PATCH v6 11/31] build: fix clean targets when subdir-y is used

2021-07-07 Thread Jan Beulich
On 01.07.2021 16:09, Anthony PERARD wrote: > The make variable $(subdir-y) isn't used yet but will be in a > following patch. Anything in $(subdir-y) doesn't to have a '/' as > suffix as we already now it's a directory. > > Rework the rules so that it doesn't matter whether there is a '/' or > not

[XEN PATCH v6 11/31] build: fix clean targets when subdir-y is used

2021-07-01 Thread Anthony PERARD
The make variable $(subdir-y) isn't used yet but will be in a following patch. Anything in $(subdir-y) doesn't to have a '/' as suffix as we already now it's a directory. Rework the rules so that it doesn't matter whether there is a '/' or not. It also mimic more closely to the way Linux's Kbuild