diff options
author | Michal Marek <mmarek@suse.com> | 2015-10-27 14:02:24 +0100 |
---|---|---|
committer | Bruno Martins <bgcngm@gmail.com> | 2022-10-28 15:57:23 +0100 |
commit | c49d2545e437162d2a4b7f1e85f591c336129077 (patch) | |
tree | 106403fc25116d9183b8f079c7ea6cac3b2fdead /include/linux/moduleparam.h | |
parent | 427d0fc67dc104ff2ecc95476409392bc53ce5c6 (diff) |
BACKPORT: 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>
Change-Id: Ibd0f7006c9d3b87f2b77e59bdc51c06cb361e9a0
(cherry picked from commit cf4f21938e13ea1533ebdcb21c46f1d998a44ee8)
Signed-off-by: Dan Aloni <daloni@magicleap.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Diffstat (limited to 'include/linux/moduleparam.h')
0 files changed, 0 insertions, 0 deletions