Is it possible to pass in command line variables to a bitbake build?

后端 未结 5 1316
旧时难觅i
旧时难觅i 2021-02-04 01:50

I have an OpenEmbedded environment using bitbake to do some builds. I wanted to get something \"interactive\" going on where bitbake would pause and ask for input then continue

5条回答
  •  死守一世寂寞
    2021-02-04 02:32

    While there is nothing wrong with the other answers bitbake does accept a --postread argument as documented here. That means that you can write as many bitbake variables as you want to some temporary configuration file and have it read after bitbake.conf by specifying the name of the file on the command-line. For example:

    bitbake --postread=./extra.conf
    

    I personally find this more convenient than dealing with environment variables.

提交回复
热议问题