]> Gentwo Git Trees - linux/.git/commit
docs: kernel_include.py: fix an issue when O= is used
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 1 Sep 2025 13:21:21 +0000 (15:21 +0200)
committerJonathan Corbet <corbet@lwn.net>
Mon, 1 Sep 2025 13:33:59 +0000 (07:33 -0600)
commit8dbb1779ae22e5cd84d807b7023d29791f892a02
treeef15585552620713ba83fee76fb35046e15e2085
parentd90e7b56406032a6175e79de3d7e884185f6be71
docs: kernel_include.py: fix an issue when O= is used

As reported by Stephen, building docs with O= is now
broken. Fix it by ensuring that it will seek files under
Kernel source tree.

The original logic was defined to accept including files
under Documentation/output. The new logic doesn't need it
anymore for media, but it might still be useful to preserve
the previous behavior. So, I ended preserving it.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Closes: https://lore.kernel.org/all/20250901142639.4de35a11@canb.auug.org.au/
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/da91980ce42f31730dc982920167b2757b9d2769.1756732363.git.mchehab+huawei@kernel.org
Documentation/sphinx/kernel_include.py