lkml.org 
[lkml]   [2015]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/3] kbuild: Allow to specify composite modules with modname-m
From
Date
Dne 28.10.2015 v 14:25 Michal Marek napsal(a):
> From: Michal Marek <mmarek@suse.com>
>
> 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 <Peter.Chen@freescale.com>
> Cc: linux-usb@vger.kernel.org
> Cc: Joern Engel <joern@logfs.org>
> Cc: Prasad Joshi <prasadjoshi.linux@gmail.com>
> Cc: logfs@logfs.org
> Signed-off-by: Michal Marek <mmarek@suse.com>
> ---
> 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



\
 
 \ /
  Last update: 2015-11-25 13:41    [W:0.064 / U:1.772 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site