Skip to content

Commit

Permalink
Revert "kconfiglib/mark: It should use pip instead of apt install"
Browse files Browse the repository at this point in the history
pip source is deprecated from ubuntu 24.04

This reverts commit 7c7a64c.

Signed-off-by: chao an <[email protected]>
  • Loading branch information
anchao authored and acassis committed Jan 13, 2025
1 parent 5dedc01 commit b7003e5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,16 @@ endif()

find_program(KCONFIGLIB olddefconfig)
if(NOT KCONFIGLIB)
# cmake-format: off
message(
FATAL_ERROR "Kconfig environment depends on kconfiglib, Please install:
$ sudo pip3 install kconfiglib")
(APT source)
$ sudo apt install python3-kconfiglib
or (pip source)
$ pip install kconfiglib
or (After Ubuntu 24.04)
$ pip install kconfiglib --break-system-packages")
# cmake-format: on
endif()

# BOARD CONFIG can be set to directory path, or <board-name>[/:]<config-name>
Expand Down

0 comments on commit b7003e5

Please sign in to comment.