
Sometime we need a complete development environment to compile, deploy and test our solutions, and sometimes we can't play directly on the hardware, or, simply, the provided SDK is not enough for our development plans. This could be, for example, the case of Intel Edison or Galileo: how can I compile entire frameworks, runtimes and their dependencies on Yocto Linux OS?
In this article I'll show how to create a runnable image of Yocto and how to test it inside QEMU, a basic software emulator; and following how to run it inside an Hypervisor, like Microsoft Hyper-V on Windows.
Executing the previous script a conf/local.conf file was created.
The configuration file needs to set up bitbake, the build engine of Yocto (core component of the Yocto Project).
Edit the bitbake configuration file with your preferred text editor. In this tutorial we'll use nano, a command-line-intece text editor for Unix-like environments, as follows:
# cd conf/ # nano local.conf
Uncomment the following rows
DL_DIR ?= "${TOPDIR}/downloads"
SSTATE_DIR ?= "${TOPDIR}/sstate-cache"
TMPDIR ?= "${TOPDIR}/tmp"
SDKMACHINE ?= "i686"
I suggest to build all the available extra features to the image. The resulting images will be heavy (around 8GB each), but absolutely complete and absolutely versatile for every need of development.
EXTRA_IMAGE_FEATURES = "dbg-pkgs dev-pkgs ptest-pkgs tools-sdk tools-debug eclipse-debug tools-profile tools-testapps debug-tweaks"
Now, save the changes made to the file local.conf with CTRL+X keyboard combination.
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/tongxinshuyu/article-48779-1.html
跟中国实体经济不是因果关系
您好
其余舰船只有5艘在2000吨至3000吨之间