- Embedded Linux Development with Yocto Project
- Otavio Salvador Daiane Angolini
- 131字
- 2021-12-08 12:35:24
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
.
推薦閱讀
- Windows Server 2019 Cookbook
- Linux運維實戰:CentOS7.6操作系統從入門到精通
- 每天5分鐘玩轉Kubernetes
- 大學計算機應用基礎實踐教程(Windows 7+Office 2013)
- 無蘋果不生活 OS X Mountain Lion隨身寶典
- 精解Windows 8
- 精通Linux內核開發
- 移動應用UI設計模式(第2版)
- Windows 7案例教程
- Dreamweaver CS5.5 Mobile and Web Development with HTML5,CSS3,and jQuery
- 無蘋果不生活 The New iPad隨身寶典
- Red Hat Enterprise Linux 6.4網絡操作系統詳解
- Linux 從入門到項目實踐(超值版)
- Agile IT Security Implementation Methodology
- 大規模Linux集群架構最佳實踐:如何管理上千臺服務器