File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -179,6 +179,15 @@ endif
179179
180180# Menuconfig
181181.PHONY : config
182+ KCONFIGLIB_AVAILABLE := $(shell python3 -c "import kconfiglib" >/dev/null 2>&1 && echo 1 || echo 0)
183+
182184config : configs/Kconfig
185+ ifeq ($(KCONFIGLIB_AVAILABLE ) ,1)
186+ @echo ">>> Using Kconfiglib"
187+ @python3 -m menuconfig $<
188+ @python3 -m genconfig $<
189+ else
190+ @echo ">>> Falling back to local tools"
183191 @tools/kconfig/menuconfig.py $<
184192 @tools/kconfig/genconfig.py $<
193+ endif
Original file line number Diff line number Diff line change 285285
286286_STYLES = {
287287 "default" : """
288- path=fg:white,bg:back ,bold
288+ path=fg:white,bg:black ,bold
289289 separator=fg:white,bg:blue,bold
290290 list=fg:white,bg:black
291291 selection=fg:black,bg:white,bold
You can’t perform that action at this time.
0 commit comments