lkml.org 
[lkml]   [2014]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCHv4 3/3] samples: add sample live patching module
On Tue 2014-11-25 11:15:09, Seth Jennings wrote:
> Add a sample live patching module.
>
> Signed-off-by: Seth Jennings <sjenning@redhat.com>
> ---
> MAINTAINERS | 1 +
> samples/Kconfig | 7 +++
> samples/livepatch/Makefile | 1 +
> samples/livepatch/livepatch-sample.c | 87 ++++++++++++++++++++++++++++++++++++
> 4 files changed, 96 insertions(+)
> create mode 100644 samples/livepatch/Makefile
> create mode 100644 samples/livepatch/livepatch-sample.c

[...]

> diff --git a/samples/livepatch/Makefile b/samples/livepatch/Makefile
> new file mode 100644
> index 0000000..7f1cdc1
> --- /dev/null
> +++ b/samples/livepatch/Makefile
> @@ -0,0 +1 @@
> +obj-$(CONFIG_SAMPLE_LIVE_PATCHING) += livepatch-sample.o
> diff --git a/samples/livepatch/livepatch-sample.c b/samples/livepatch/livepatch-sample.c
> new file mode 100644
> index 0000000..21f159d

The Makefile is ignored because there is missing:


diff --git a/samples/Makefile b/samples/Makefile
index 1a60c62e2045..f00257bcc5a7 100644
--- a/samples/Makefile
+++ b/samples/Makefile
@@ -1,4 +1,4 @@
# Makefile for Linux samples code

-obj-$(CONFIG_SAMPLES) += kobject/ kprobes/ trace_events/ \
+obj-$(CONFIG_SAMPLES) += kobject/ kprobes/ trace_events/ livepatch/ \
hw_breakpoint/ kfifo/ kdb/ hidraw/ rpmsg/ seccomp/

Best Regards,
Petr


\
 
 \ /
  Last update: 2014-11-27 18:41    [W:0.163 / U:1.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site