fix: built-in lttng with kernel >= v6.1
authorMichael Jeanson <mjeanson@efficios.com>
Fri, 18 Aug 2023 15:28:30 +0000 (11:28 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 18 Aug 2023 17:55:12 +0000 (13:55 -0400)
commite863dbec4e8d59a5cb600e3d4e61d7f46cc959ab
treeecd21a342688cb655c12db61c547e1571ec0fb67
parentac7d33b60496b17c8abe371f19b673f8f150414c
fix: built-in lttng with kernel >= v6.1

In kernel v6.1 the list of subdirectories was moved from Makefile to
Kbuild. Adjust our built-in.sh script to detect this change and use the
appropriate file to graft ourself to the kernel build system.

Thanks to Richa Bharti for the initial patch.

See upstream commit:

  commit 5750121ae7382ebac8d47ce6d68012d6cd1d7926
  Author: Masahiro Yamada <masahiroy@kernel.org>
  Date:   Sun Sep 25 03:19:10 2022 +0900

    kbuild: list sub-directories in ./Kbuild

    Use the ordinary obj-y syntax to list subdirectories.

Change-Id: Ifc0f1bdea5ee59b0e0b96cdb31c9c689deb20559
Reported-by: Richa Bharti <Richa.Bharti@siemens.com>
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
scripts/built-in.sh
This page took 0.025984 seconds and 4 git commands to generate.