Is there a way to run bitbake task with python command line options ? Example: I have debug in the code, and the debug is always True, is there a way to pass an python option like python -O when executing bitbake task.
python do_some_task(){
if __debug__:
print("...")
...
}
addtask do_some_task
I'm running my task's in the following way:
bitbake -c some_task ...