Skip to content
Peter Saunderson edited this page Jul 26, 2016 · 1 revision

Home / parallella-yoctobuild / meta-exotic / Design Guide / Per Yocto Recipe Details / gcc-crossdk

Uses:

Produces target sysroot in:

  • sysroots/x86_64-linux

Configured with:

--host=x86_64-linux --target=x86_64-pokysdk-linux
--with-sysroot=/not/exist
--with-build-sysroot=sysroots/x86_64-nativesdk-pokysdk-linux

Provides / depends on:

PN = "gcc-crosssdk-${TARGET_ARCH}"
PROVIDES = "virtual/${TARGET_PREFIX}gcc-crosssdk virtual/${TARGET_PREFIX}g++-crosssdk"
DEPENDS = "virtual/${TARGET_PREFIX}binutils-crosssdk virtual/nativesdk-${TARGET_PREFIX}libc-for-gcc gettext-native ${NATIVEDEPS}"

cross.bbclass: STAGING_DIR_HOST = "${STAGING_DIR}/${HOST_ARCH}${HOST_VENDOR}-${HOST_OS}" = sysroots/x86_64-linux

populate_sysroot has:

  • Staging files from .../sysroot-destdir/.../sysroots/x86_64-linux to .../sysroots/x86_64-linux
Clone this wiki locally