【发布时间】:2018-01-23 23:30:29
【问题描述】:
有没有办法使用 python 命令行选项运行 bitbake 任务? 例子: 我在代码中有 debug,并且 debug 始终为 True,有没有办法在执行 bitbake 任务时传递 python -O 之类的 python 选项。
python do_some_task(){
if __debug__:
print("...")
...
}
addtask do_some_task
我正在按以下方式运行我的任务:
bitbake -c some_task ...
【问题讨论】: