mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 11:56:10 +08:00
install kconfiglib using apt repo
This commit is contained in:
+1
-1
@@ -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]
|
||||||
|
|||||||
Reference in New Issue
Block a user