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

Bruce Ashfield bruce.ashfield at windriver.com
Mon May 28 07:46:51 PDT 2018


On 2018-05-23 3:31 AM, Dengke Du wrote:
> When we build the kernel sample codes, we need to open the samples related
> configurations.

merged.

Bruce

> 
> 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