Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753347AbbKYMat (ORCPT ); Wed, 25 Nov 2015 07:30:49 -0500 Received: from mx2.suse.de ([195.135.220.15]:35542 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752493AbbKYMas (ORCPT ); Wed, 25 Nov 2015 07:30:48 -0500 Subject: Re: [PATCH 2/3] kbuild: Allow to specify composite modules with modname-m To: linux-kbuild@vger.kernel.org References: <1446038742-13482-1-git-send-email-mmarek@suse.cz> <1446038742-13482-2-git-send-email-mmarek@suse.cz> Cc: linux-kernel@vger.kernel.org, daniel.vetter@ffwll.ch, Peter Chen , linux-usb@vger.kernel.org, Joern Engel , Prasad Joshi , logfs@logfs.org From: Michal Marek Message-ID: <5655A9F4.3020305@suse.com> Date: Wed, 25 Nov 2015 13:30:44 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <1446038742-13482-2-git-send-email-mmarek@suse.cz> Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1355 Lines: 37 Dne 28.10.2015 v 14:25 Michal Marek napsal(a): > From: Michal Marek > > 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 > Cc: linux-usb@vger.kernel.org > Cc: Joern Engel > Cc: Prasad Joshi > Cc: logfs@logfs.org > Signed-off-by: Michal Marek > --- > 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/