Closed supperthomas closed 8 months ago
确实,这个警告有些多。用pyconfig和使用kconfig-frontend的mconf还不一样。
> scons --pyconfig-silent
scons: Reading SConscript files ...
Kconfig:5: warning: BSP_ROOT has 'option env="BSP_DIR"', but the environment variable BSP_DIR is not set
Kconfig:5: warning: Kconfiglib expands environment variables in strings directly, meaning you do not need 'option env=...' "bounce" symbols. For compatibility with the C tools, rename BSP_DIR to BSP_ROOT (so that the symbol name matches the environment variable name).
Kconfig:10: warning: RTT_ROOT has 'option env="RTT_DIR"', but the environment variable RTT_DIR is not set
Kconfig:10: warning: Kconfiglib expands environment variables in strings directly, meaning you do not need 'option env=...' "bounce" symbols. For compatibility with the C tools, rename RTT_DIR to RTT_ROOT (so that the symbol name matches the environment variable name).
Kconfig:15: warning: Kconfiglib expands environment variables in strings directly, meaning you do not need 'option env=...' "bounce" symbols. For compatibility with the C tools, rename PKGS_DIR to PKGS_ROOT (so that the symbol name matches the environment variable name).
Loaded configuration '.config'
Configuration saved to '.config'
option env="BSP_DIR" 有机会消掉吗?
找到任意bsp 执行命令
scons --pyconfig-silent
这些警告,有些可能是故意的,可以尝试找出明显错误,修正。