summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2026-03-09 12:09:52 -0600
committerHeinrich Schuchardt <[email protected]>2026-03-27 10:53:28 +0100
commitd0dfaacf57a2a0fa4a5c09223e62fdddef544052 (patch)
tree4d3b0a6d8453b88bd33352e4e9f5da6314a36b87 /Makefile
parent2632deee5fa47ead646edbb1a0cfbd07c98ec094 (diff)
doc: Use sys.path.append for pytests being found
Rather than having our "docs" build tagets modify PTYHONPATH, have doc/conf.py append the required paths at runtime instead. This will ensure that our builds from readthedocs will also find all of the required files. Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c175af95aca..f232d8b4ea2 100644
--- a/Makefile
+++ b/Makefile
@@ -2759,8 +2759,7 @@ DOC_TARGETS := xmldocs latexdocs pdfdocs htmldocs epubdocs cleandocs \
linkcheckdocs dochelp refcheckdocs texinfodocs infodocs
PHONY += $(DOC_TARGETS)
$(DOC_TARGETS): scripts_basic FORCE
- $(Q)PYTHONPATH=$(srctree)/test/py/tests:$(srctree)/test/py \
- $(MAKE) $(build)=doc $@
+ $(Q)$(MAKE) $(build)=doc $@
PHONY += checkstack ubootrelease ubootversion