Michal Marek cf4f21938e kbuild: Allow to specify composite modules with modname-m
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.

Acked-by: Peter Chen <peter.chen@freescale.com> [chipidea]
Signed-off-by: Michal Marek <mmarek@suse.com>
2015-11-25 11:23:25 +01:00
..
2012-01-02 13:04:55 +01:00
2012-01-02 13:04:55 +01:00
2012-01-02 13:04:55 +01:00
2012-01-02 13:04:55 +01:00
2012-01-02 13:04:55 +01:00
2012-01-02 13:04:55 +01:00
2012-01-02 13:04:55 +01:00
2012-01-02 13:04:55 +01:00
2005-04-16 15:20:36 -07:00
2012-01-02 13:04:55 +01:00
2012-01-02 13:04:55 +01:00