Dne 28.10.2015 v 14:25 Michal Marek napsal(a):
> From: Michal Marek <[email protected]>
>
> This allows to write
>
> drm-$(CONFIG_AGP) += drm_agpsupport.o
>
> without having to handle CONFIG_AGP=y vs. CONFIG_AGP=m. Only support
> this syntax for modules, since built-in code depending on something
> modular cannot work and init/Makefile actually relies on the current
> semantics. There are a few drivers which adapted to the current
> semantics out of necessity; these are fixed to also work when the
> respective subsystem is modular.
>
> Cc: Peter Chen <[email protected]>
> Cc: [email protected]
> Cc: Joern Engel <[email protected]>
> Cc: Prasad Joshi <[email protected]>
> Cc: [email protected]
> Signed-off-by: Michal Marek <[email protected]>
> ---
> drivers/misc/ibmasm/ibmasm.h | 2 +-
> drivers/usb/chipidea/otg_fsm.h | 2 +-
> fs/logfs/logfs.h | 2 +-
> scripts/Makefile.build | 8 ++++++--
> scripts/Makefile.lib | 4 ++--
> 5 files changed, 11 insertions(+), 7 deletions(-)
I applied the whole series to kbuild.git#kbuild now.
Michal