diff --git a/doc/Makefile b/doc/Makefile index 17df5e2ecf9..c722b9e3d56 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -72,7 +72,7 @@ htmldocs: doxy html content: scripts/extract_content.py $(Q)$< -kconfig: scripts/genrest/genrest.py +kconfig: scripts/genrest.py $(Q)PYTHONPATH="${ZEPHYR_BASE}/scripts/kconfig:${PYTHONPATH}" \ srctree=../ ENV_VAR_BOARD_DIR=boards/*/*/ ENV_VAR_ARCH=* KERNELVERSION=1.9.99 SRCARCH=x86 \ python3 $< ../Kconfig reference/kconfig/ diff --git a/doc/scripts/genrest/genrest.py b/doc/scripts/genrest.py similarity index 97% rename from doc/scripts/genrest/genrest.py rename to doc/scripts/genrest.py index b668a721770..b39b1b166f1 100644 --- a/doc/scripts/genrest/genrest.py +++ b/doc/scripts/genrest.py @@ -49,9 +49,8 @@ are organized based on their common characteristics and on what new symbols they add to the configuration menus. The configuration options' information below is extracted directly from -:program:`Kconfig` using the :file:`~/doc/scripts/genrest/genrest.py` script. -Click on the option name in the table below for detailed information about -each option. +:program:`Kconfig` using the :file:`~/doc/scripts/genrest.py` script. Click on +the option name in the table below for detailed information about each option. Supported Options *****************