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

Dengke Du dengke.du at windriver.com
Tue May 29 20:08:35 PDT 2018


Hi bruce

The current poky using 4.14, so I need send to 4.14 as well.

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