[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: False positive "doesn't match the target pattern" error
From: |
Dmitry Goncharov |
Subject: |
Re: False positive "doesn't match the target pattern" error |
Date: |
Sat, 20 Aug 2022 23:52:22 -0400 |
On Sat, Aug 20, 2022 at 8:28 PM Masahiro Yamada <masahiroy@kernel.org> 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.order: %
Can you remove . from build-dirs and add a dedicated rule for .module.order?
E.g.
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.order: %; @:
.modules.order:; @:
> Make considers 'foo/bar' and 'foo/./bar'
> as different targets.
This is a deficiency in make. i opened
https://savannah.gnu.org/bugs/index.php?62929 and attached a fix.
Thanks for your report.
regards, Dmitry
- Re: False positive "doesn't match the target pattern" error, (continued)
- Re: False positive "doesn't match the target pattern" error, Dmitry Goncharov, 2022/08/20
- Re: False positive "doesn't match the target pattern" error, Alejandro Colomar, 2022/08/20
- Re: False positive "doesn't match the target pattern" error, David A. Wheeler, 2022/08/21
- Re: False positive "doesn't match the target pattern" error, Alejandro Colomar, 2022/08/22
- Re: False positive "doesn't match the target pattern" error, David A. Wheeler, 2022/08/22
- Re: False positive "doesn't match the target pattern" error, Alejandro Colomar, 2022/08/22
- Re: False positive "doesn't match the target pattern" error, Ingo Schwarze, 2022/08/24
Re: False positive "doesn't match the target pattern" error, Masahiro Yamada, 2022/08/20