Re: False positive "doesn't match the target pattern" error

2022-08-21 Thread Alejandro Colomar
Hi David, On 8/22/22 04:45, David A. Wheeler wrote: On Aug 20, 2022, at 11:35 AM, Alejandro Colomar wrote: I'd say there is: make(1) treats file names as text strings, not really file names, for most of its operations. As an example, foo/ and foo/. are different targets. I don't see why

Re: False positive "doesn't match the target pattern" error

2022-08-21 Thread David A. Wheeler
> On Aug 20, 2022, at 11:35 AM, Alejandro Colomar > wrote: > I'd say there is: make(1) treats file names as text strings, not really file > names, for most of its operations. As an example, foo/ and foo/. are > different targets. I don't see why ./bar and bar should be the same. > Consi

Re: False positive "doesn't match the target pattern" error

2022-08-21 Thread Alejandro Colomar
Hi Dmitry On 8/21/22 05:52, Dmitry Goncharov wrote: On Sat, Aug 20, 2022 at 8:28 PM Masahiro Yamada wrote: build-dirs := . drivers sound net virt arch/x86/pci arch/x86/power lib arch/x86/lib subdir-modorder := $(addsuffix /.modules.order, $(build-dirs)) $(sort $(subdir-modorder)): %/.modules.o