* [BUILD REGRESSION] building single .ko not working in 5.3-rc1
@ 2019-08-02 9:26 Arend Van Spriel
2019-08-02 10:26 ` Masahiro Yamada
0 siblings, 1 reply; 2+ messages in thread
From: Arend Van Spriel @ 2019-08-02 9:26 UTC (permalink / raw)
To: Linux Kernel, Masahiro Yamada
In previous kernel versions I could do:
make M=net/wireless cfg80211.ko
However, in 5.3-rc1 I now get:
$ make M=net/wireless cfg80211.ko
make[1]: *** No rule to make target `cfg80211.ko'. Stop.
make: *** [sub-make] Error 2
The 'modules' target is working, but sometimes there are multiple
modules and I only want to build just one explicitly. Can this option be
restored?
Regards,
Arend
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [BUILD REGRESSION] building single .ko not working in 5.3-rc1
2019-08-02 9:26 [BUILD REGRESSION] building single .ko not working in 5.3-rc1 Arend Van Spriel
@ 2019-08-02 10:26 ` Masahiro Yamada
0 siblings, 0 replies; 2+ messages in thread
From: Masahiro Yamada @ 2019-08-02 10:26 UTC (permalink / raw)
To: Arend Van Spriel; +Cc: Linux Kernel
On Fri, Aug 2, 2019 at 6:26 PM Arend Van Spriel
<arend.vanspriel@broadcom.com> wrote:
>
> In previous kernel versions I could do:
>
> make M=net/wireless cfg80211.ko
>
> However, in 5.3-rc1 I now get:
>
> $ make M=net/wireless cfg80211.ko
> make[1]: *** No rule to make target `cfg80211.ko'. Stop.
> make: *** [sub-make] Error 2
>
> The 'modules' target is working, but sometimes there are multiple
> modules and I only want to build just one explicitly. Can this option be
> restored?
Please test this:
https://patchwork.kernel.org/patch/11073103/
BTW,
'make M=net/wireless cfg80211.ko' still works,
but if you build a single module in the kernel tree,
make net/wireless/cfg80211.ko
is more correct.
M= is used for external modules.
> Regards,
> Arend
--
Best Regards
Masahiro Yamada
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-08-02 10:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-02 9:26 [BUILD REGRESSION] building single .ko not working in 5.3-rc1 Arend Van Spriel
2019-08-02 10:26 ` Masahiro Yamada
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).