mirror of
https://github.com/Fishwaldo/OBLFR.git
synced 2025-03-15 11:21:23 +00:00
Only import menuconfig if we are actually running the gui.
* Fixes a issue with buildroot not having a curses enabled python3 on the host
This commit is contained in:
parent
ac630415f9
commit
3691ac1a05
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,6 @@ kconfig_lib_path = sys.path[0]+"/Kconfiglib"
|
|||
sys.path.append(kconfig_lib_path)
|
||||
|
||||
import kconfiglib
|
||||
from menuconfig import menuconfig
|
||||
|
||||
|
||||
def _cmake_contents(kconfig, header):
|
||||
|
@ -147,6 +146,7 @@ if os.path.exists(args.projectdir + "/sdkconfig"):
|
|||
|
||||
|
||||
if args.menuconfig:
|
||||
from menuconfig import menuconfig
|
||||
menuconfig(kconfig)
|
||||
|
||||
write_config(kconfig)
|
||||
|
|
Loading…
Add table
Reference in a new issue