summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/kmod/kmod/gtkdocdir.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/kmod/kmod/gtkdocdir.patch')
-rw-r--r--meta/recipes-kernel/kmod/kmod/gtkdocdir.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-kernel/kmod/kmod/gtkdocdir.patch b/meta/recipes-kernel/kmod/kmod/gtkdocdir.patch
new file mode 100644
index 0000000000..a34ea466e8
--- /dev/null
+++ b/meta/recipes-kernel/kmod/kmod/gtkdocdir.patch
@@ -0,0 +1,33 @@
1From dd59095f70f774f6d1e767010e25b35ef6db4c4b Mon Sep 17 00:00:00 2001
2From: Ross Burton <ross.burton@arm.com>
3Date: Fri, 8 Dec 2023 22:35:45 +0000
4Subject: [PATCH] configure: set docdir in GTK_DOC_CHECK
5
6By passing --docdir in the GTK_DOC_CHECK arguments (to match
7autogen.sh) autoreconf will work out of the box.
8
9Without this autoreconf fails due to the documentation not being in
10./docs, the default location.
11
12Upstream-Status: Submitted [https://lore.kernel.org/linux-modules/20231208224511.1363066-1-ross.burton@arm.com/T/#u]
13Signed-off-by: Ross Burton <ross.burton@arm.com>
14---
15 configure.ac | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/configure.ac b/configure.ac
19index de01e08..67696c4 100644
20--- a/configure.ac
21+++ b/configure.ac
22@@ -255,7 +255,7 @@ AS_IF([test "x$enable_coverage" = "xyes"], [
23 AM_CONDITIONAL([ENABLE_COVERAGE], [test "x$enable_coverage" = "xyes"])
24
25 m4_ifdef([GTK_DOC_CHECK], [
26-GTK_DOC_CHECK([1.14],[--flavour no-tmpl-flat])
27+GTK_DOC_CHECK([1.14],[--flavour no-tmpl-flat --docdir libkmod/docs])
28 ], [
29 AM_CONDITIONAL([ENABLE_GTK_DOC], false)])
30
31--
322.34.1
33