forked from nuttx/nuttx-update
install kconfiglib using apt repo
This commit is contained in:
parent
f446fd5451
commit
7d2d38f899
3 changed files with 3 additions and 3 deletions
|
@ -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>
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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]
|
||||||
|
|
Loading…
Reference in a new issue