1
0
Fork 0
forked from nuttx/nuttx-update

install kconfiglib using apt repo

This commit is contained in:
trns1997 2024-12-01 11:28:53 +01:00 committed by Xiang Xiao
parent f446fd5451
commit 7d2d38f899
3 changed files with 3 additions and 3 deletions

View file

@ -87,7 +87,7 @@ find_program(KCONFIGLIB olddefconfig)
if(NOT KCONFIGLIB) if(NOT KCONFIGLIB)
message( message(
FATAL_ERROR "Kconfig environment depends on kconfiglib, Please install: FATAL_ERROR "Kconfig environment depends on kconfiglib, Please install:
$ pip install kconfiglib") $ sudo apt install python3-kconfiglib")
endif() endif()
# BOARD CONFIG can be set to directory path, or <board-name>[/:]<config-name> # BOARD CONFIG can be set to directory path, or <board-name>[/:]<config-name>

View file

@ -124,7 +124,7 @@ some Kconfig syntax errors. Install kconfiglib via following command:
.. code-block:: shell .. code-block:: shell
pip install kconfiglib sudo apt install python3-kconfiglib
If you are a working on Windows, which also need the support of windows-curses: If you are a working on Windows, which also need the support of windows-curses:

View file

@ -28,7 +28,7 @@ try:
from kconfiglib import Kconfig from kconfiglib import Kconfig
except ModuleNotFoundError: except ModuleNotFoundError:
print("Please execute the following command to install dependencies:") print("Please execute the following command to install dependencies:")
print("pip install kconfiglib") print("sudo apt install python3-kconfiglib")
exit() exit()
script_path = os.path.split(os.path.realpath(__file__))[0] script_path = os.path.split(os.path.realpath(__file__))[0]