官术网_书友最值得收藏!

Preparing the build environment

Inside the poky directory, there is a script named oe-init-build-env, which should be used to set up the build environment. The script must be run as shown:

$: source poky/oe-init-build-env [build-directory]

Here, build-directory is an optional parameter for the name of the directory where the environment is set; in case it is not given, it defaults to build. The build-directory is the place where we perform the builds.

It is very convenient to use different build directories. We can work on distinct projects in parallel or different experimental setups without affecting our other builds.

Note

Throughout the book, we will use build as the build directory. When we need to point to a file inside the build directory, we will adopt the same convention, for example, build/conf/local.conf.

主站蜘蛛池模板: 徐汇区| 工布江达县| 台湾省| 固原市| 巍山| 翁牛特旗| 茌平县| 泾川县| 馆陶县| 穆棱市| 辰溪县| 泸定县| 老河口市| 荃湾区| 辽源市| 明水县| 启东市| 东光县| 岚皋县| 油尖旺区| 韩城市| 太康县| 宁晋县| 东莞市| 兴化市| 苗栗市| 新密市| 安国市| 都安| 宜黄县| 汾阳市| 江北区| 长汀县| 金寨县| 彝良县| 邢台县| 长垣县| 宝坻区| 镇平县| 武定县| 根河市|