]> code.ossystems Code Review - openembedded-core.git/commit
lttng-modules: Make it build when CONFIG_TRACEPOINTS is not enabled again
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Wed, 25 Aug 2021 13:20:58 +0000 (15:20 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Aug 2021 07:05:52 +0000 (08:05 +0100)
commitf2411917c09a31d154d29060f6c7e4ce7d544fc7
tree00e1c8895f71991588d734fc841923a13324e61d
parentf216d7e3e7eb94f53a69e25c805344b04ada60f5
lttng-modules: Make it build when CONFIG_TRACEPOINTS is not enabled again

Makefile-Do-not-fail-if-CONFIG_TRACEPOINTS-is-not-en.patch was updated
with the 2.13.0 update (commit 5dad15af), but unfortunately it no
longer did what it was intended to do. There is also
0001-src-Kbuild-change-missing-CONFIG_TRACEPOINTS-to-warn.patch, which
was based on the former patch, but it too does not solve the problem.

Unify the two patches, and actually disable building of the kernel
module if CONFIG_TRACEPOINTS is not enabled, the way it was intended.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/lttng/lttng-modules/0001-src-Kbuild-change-missing-CONFIG_TRACEPOINTS-to-warn.patch
meta/recipes-kernel/lttng/lttng-modules/Makefile-Do-not-fail-if-CONFIG_TRACEPOINTS-is-not-en.patch [deleted file]
meta/recipes-kernel/lttng/lttng-modules_2.13.0.bb