Understanding the work directory
The build/tmp/work
directory is split by architecture. For example, when working with the machine qemuarm
, we have the following four directories:
all-poky-linux
armv5te-poky-linux-gnueabi
qemuarm-poky-linux-gnueabi
x86_64-linux
The directories found here and their contents are architecture and machine dependent. We shouldn't take this as a final list, only as an illustration. The directory x86_64-linux
is used to build the host sysroot
content, which is detailed in the next section. The directory all-poky-linux
holds the working build directories for the packages that are architecture agnostic. This fragmented structure is necessary to allow building multiple machines and architectures within one build directory without conflicting with each other.
The target machine we use is qemuarm
. This machine is an emulation of the ARM Versatile Platform Baseboard with the ARM926EJ-S CPU emulation that supports the ARMv5TE instructions. Poky treats qemuarm
as a type...