mirror of
https://github.com/Fishwaldo/OBLFR.git
synced 2025-03-15 11:21:23 +00:00
Merge pull request #3 from openbouffalo/kconfig-fix
Only import menuconfig if we are actually running the gui.
This commit is contained in:
commit
f1883aa78c
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