Skip to content
Peter Saunderson edited this page Jul 26, 2016 · 2 revisions

Home / parallella-yoctobuild / meta-exotic / Design Guide / Glossary / STAGING_DIR_TARGET

STAGING_DIR_TARGET is used to configure the location on the target where the files might be expected. STAGING_DIR_HOST is the default location of the build products in the host file system. The files are staged in specific folders so that when they are installed on a target the appropriate directory structure is created.

  • bitbake.conf: TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TARGET}"
  • sstate.bbclass: staging_target = d.getVar('STAGING_DIR_TARGET', True)

STAGING_DIR_TARGET default is defined in bitbake.conf but may be altered in other places:

  • bitbake.conf: STAGING_DIR_TARGET = "${STAGING_DIR}/${MACHINE}"
  • native.bbclass: STAGING_DIR_TARGET = ""
  • crosssdk.bbclass: STAGING_DIR_TARGET = "${STAGING_DIR}/${SDK_ARCH}-${SDKPKGSUFFIX}${SDK_VENDOR}-${SDK_OS}"
  • nativesdk.bbclass: STAGING_DIR_TARGET = "${STAGING_DIR}/${MULTIMACH_TARGET_SYS}"
  • multilib.conf: STAGING_DIR_TARGET = "${STAGING_DIR}/${MLPREFIX}${MACHINE}"

In addition TOOLCHAIN_OPTIONS may be replaced see (TOOLCHAIN_OPTIONS)

Clone this wiki locally