[BUILD REGRESSION] building single .ko not working in 5.3-rc1

From: Arend Van Spriel
Date: Fri Aug 02 2019 - 05:26:26 EST

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?