diff options
Diffstat (limited to 'meta/recipes-kernel/lttng/lttng-modules')
-rw-r--r-- | meta/recipes-kernel/lttng/lttng-modules/0001-src-Kbuild-change-missing-CONFIG_TRACEPOINTS-to-warn.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-modules/0001-src-Kbuild-change-missing-CONFIG_TRACEPOINTS-to-warn.patch b/meta/recipes-kernel/lttng/lttng-modules/0001-src-Kbuild-change-missing-CONFIG_TRACEPOINTS-to-warn.patch new file mode 100644 index 0000000000..6d81c81efe --- /dev/null +++ b/meta/recipes-kernel/lttng/lttng-modules/0001-src-Kbuild-change-missing-CONFIG_TRACEPOINTS-to-warn.patch | |||
@@ -0,0 +1,37 @@ | |||
1 | From 0287f5c32b9fd99078e71c22ca679343d18f1513 Mon Sep 17 00:00:00 2001 | ||
2 | From: Bruce Ashfield <bruce.ashfield@gmail.com> | ||
3 | Date: Sat, 15 May 2021 10:26:38 -0400 | ||
4 | Subject: [PATCH] src/Kbuild: change missing CONFIG_TRACEPOINTS to warning | ||
5 | |||
6 | Taken from a previous patch to the main lttng-modules Makefile, by | ||
7 | Otavio Salvador: | ||
8 | |||
9 | The lttng-modules are being pulled by the tools-profile image feature, | ||
10 | however, not every kernel has the CONFIG_TRACEPOINTS feature enabled. | ||
11 | |||
12 | This change makes the build do not fail when CONFIG_TRACEPOINTS is not | ||
13 | available, allowing it to be kept being pulled by default. | ||
14 | |||
15 | Upstream-Status: Inappropriate [embedded specific] | ||
16 | |||
17 | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> | ||
18 | --- | ||
19 | src/Kbuild | 2 +- | ||
20 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
21 | |||
22 | diff --git a/src/Kbuild b/src/Kbuild | ||
23 | index 7137874f..18a43b50 100644 | ||
24 | --- a/src/Kbuild | ||
25 | +++ b/src/Kbuild | ||
26 | @@ -2,7 +2,7 @@ | ||
27 | |||
28 | ifdef CONFIG_LOCALVERSION # Check if dot-config is included. | ||
29 | ifeq ($(CONFIG_TRACEPOINTS),) | ||
30 | - $(error The option CONFIG_TRACEPOINTS needs to be enabled in your kernel configuration) | ||
31 | + $(warning The option CONFIG_TRACEPOINTS needs to be enabled in your kernel configuration) | ||
32 | endif # CONFIG_TRACEPOINTS | ||
33 | endif # ifdef CONFIG_LOCALVERSION | ||
34 | |||
35 | -- | ||
36 | 2.19.1 | ||
37 | |||