- 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
.
推薦閱讀
- pcDuino開發實戰
- Linux操作系統基礎
- 從零開始寫Linux內核:一書學透核心原理與實現
- 阿里云數字新基建系列:云原生操作系統Kubernetes
- 精解Windows 8
- Windows Server 2012網絡操作系統企業應用案例詳解
- Mobile First Design with HTML5 and CSS3
- Application Development in iOS 7
- NetDevOps入門與實踐
- Hands-On UX Design for Developers
- Python UNIX和Linux系統管理指南
- Linux網絡配置與安全管理
- Multi-Cloud for Architects
- OpenHarmony開發與實踐:基于紅莓RK2206開發板
- Linux內核分析及應用