Understanding the work directory
The build/tmp/work
directory is organized 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 x86_64-linux
directoryis used to build the host sysroot content, which is detailed in the next section. Theall-poky-linux
directoryholds the working build directories for the packages that are architecture agnostic. This fragmented structure is necessary to allow the building of 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...