[poky] [PATCH 1/5] kernel.bbclass: Auto load cdc-acm and cdc-wdm

Darren Hart dvhart at linux.intel.com
Tue Jun 7 09:05:47 PDT 2011



On 06/07/2011 05:58 AM, Bruce Ashfield wrote:
> On Tue, Jun 7, 2011 at 4:52 AM,  <y at pokylinux.org> wrote:
>> From: Dongxiao Xu <dongxiao.xu at intel.com>
>>
>> Automatically load cdc-acm.ko and cdc-wdm.ko to support 3G module.
>>
>> Signed-off-by: Dongxiao Xu <dongxiao.xu at intel.com>
>> ---
>>  meta/classes/kernel.bbclass |    2 ++
>>  1 files changed, 2 insertions(+), 0 deletions(-)
>>
>> diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
>> index 1bb69f5..1b50b38 100644
>> --- a/meta/classes/kernel.bbclass
>> +++ b/meta/classes/kernel.bbclass
>> @@ -264,6 +264,8 @@ module_autoload_rfcomm = "rfcomm"
>>  module_autoload_sa1100-rtc = "sa1100-rtc"
>>  # sa1100-rtc was renamed in 2.6.23 onwards
>>  module_autoload_rtc-sa1100 = "rtc-sa1100"
>> +module_autoload_cdc-acm = "cdc-acm"
>> +module_autoload_cdc-wdm = "cdc-wdm"
> 
> Hi Dongxiao,
> 
> This patch should go to oe-core, since we are talking about
> meta/classes/kernel.bbclass.
> 
> But seeing this looks like it doesn't belong in kernel.bbclass at all (neither
> do the existing autoloads), but would be better defined in either a BSP or
> distro layer.

Agreed.

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel



More information about the poky mailing list