[linux-yocto] [yocto-4.14][PATCH] features/kernel-sample: add kernel sample support

Bruce Ashfield bruce.ashfield at windriver.com
Wed May 30 09:16:03 PDT 2018


On 05/29/2018 11:08 PM, Dengke Du wrote:
> Hi bruce
> 
> The current poky using 4.14, so I need send to 4.14 as well.
> 

I've cherry picked the change to 4.14 as well.

Bruce

> Thanks.
> 
> 
> On 2018年05月30日 11:18, Dengke Du wrote:
>> When we build the kernel sample codes, we need to open the samples 
>> related
>> configurations.
>>
>> Signed-off-by: Dengke Du <dengke.du at windriver.com>
>> ---
>>   features/kernel-sample/kernel-sample.cfg | 11 +++++++++++
>>   features/kernel-sample/kernel-sample.scc |  1 +
>>   2 files changed, 12 insertions(+)
>>   create mode 100644 features/kernel-sample/kernel-sample.cfg
>>   create mode 100644 features/kernel-sample/kernel-sample.scc
>>
>> diff --git a/features/kernel-sample/kernel-sample.cfg 
>> b/features/kernel-sample/kernel-sample.cfg
>> new file mode 100644
>> index 0000000..c2b589f
>> --- /dev/null
>> +++ b/features/kernel-sample/kernel-sample.cfg
>> @@ -0,0 +1,11 @@
>> +CONFIG_SAMPLES=y
>> +CONFIG_SAMPLE_TRACE_EVENTS=m
>> +CONFIG_SAMPLE_TRACE_PRINTK=m
>> +CONFIG_SAMPLE_KOBJECT=m
>> +CONFIG_SAMPLE_KPROBES=m
>> +CONFIG_SAMPLE_KRETPROBES=m
>> +CONFIG_SAMPLE_HW_BREAKPOINT=m
>> +CONFIG_SAMPLE_KFIFO=m
>> +CONFIG_SAMPLE_CONFIGFS=m
>> +CONFIG_SAMPLE_CONNECTOR=m
>> +CONFIG_SAMPLE_SECCOMP=m
>> diff --git a/features/kernel-sample/kernel-sample.scc 
>> b/features/kernel-sample/kernel-sample.scc
>> new file mode 100644
>> index 0000000..7ac5bd4
>> --- /dev/null
>> +++ b/features/kernel-sample/kernel-sample.scc
>> @@ -0,0 +1 @@
>> +kconf non-hardware kernel-sample.cfg
> 



More information about the linux-yocto mailing list