[yocto] [PATCH 11/22] meta: add scsi feature

Darren Hart dvhart at linux.intel.com
Mon May 14 13:15:13 PDT 2012



On 05/14/2012 12:55 PM, Tom Zanussi wrote:
> On Mon, 2012-05-14 at 09:36 -0700, Darren Hart wrote:
>>
>> On 05/12/2012 12:41 PM, tom.zanussi at intel.com wrote:
>>> From: Tom Zanussi <tom.zanussi at intel.com>
>>>
>>> Add a feature to enable SCSI support.  This also creates a scsi/
>>> directory to contain further SCSI options.
>>>
>>> Signed-off-by: Tom Zanussi <tom.zanussi at intel.com>
>>> ---
>>>  meta/cfg/kernel-cache/features/scsi/scsi.cfg |    1 +
>>>  meta/cfg/kernel-cache/features/scsi/scsi.scc |    4 ++++
>>>  2 files changed, 5 insertions(+), 0 deletions(-)
>>>  create mode 100644 meta/cfg/kernel-cache/features/scsi/scsi.cfg
>>>  create mode 100644 meta/cfg/kernel-cache/features/scsi/scsi.scc
>>>
>>> diff --git a/meta/cfg/kernel-cache/features/scsi/scsi.cfg b/meta/cfg/kernel-cache/features/scsi/scsi.cfg
>>> new file mode 100644
>>> index 0000000..2e9142f
>>> --- /dev/null
>>> +++ b/meta/cfg/kernel-cache/features/scsi/scsi.cfg
>>> @@ -0,0 +1 @@
>>> +CONFIG_SCSI=y
>>
>> There are additional dependencies for this which certain policy
>> configurations may not enable for us. CONFIG_BLOCK for example.
>>
> 
> I only see a CONFIG_BLOCK dependency for CONFIG_SCSI - what are the
> other 'additional dependencies' you mention?
> 
> Tom

What I do is look up each CONFIG_ in menuconfig (the / search) and trace
the depends all the way up. For this I only looked at CONFIG_BLK_DEV_SD
and CONFIG_SCSI. If CONFIG_BLOCK doesn't have any additional
dependencies, then it's just CONFIG_BLOCK.

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



More information about the yocto mailing list