[oe] what is the expected STAGING_INCDIR for cross packages?

Leon Woestenberg leon.woestenberg at gmail.com
Mon Nov 23 17:25:09 UTC 2009


Hello,

what is the expected STAGING_INCDIR for -cross packages?


Our STAGING_INCDIR for -cross packages contains two concatenated absolute paths,
one based of CROSS_DIR, one based of STAGING_DIR.

Both are absolute, based against TMPDIR.

Is that correct?


i.e.

CROSS_DIR = ${TMPDIR}/cross/$BASE_PACKAGE_ARCH
prefix = ${CROSS_DIR}
exec_prefix = ${prefix}
includedir = ${exec_prefix}/include

STAGING_DIR = ${TMPDIR}/staging
BASEPKG_HOST_SYS=${HOST_ARCH}${HOST_VENDOR}-${HOST_OS}
STAGING_DIR_HOST=${STAGIG_DIR}/$BASEPKG_HOST_SYS}

which are then concatenated for -cross packages as:

STAGING_INCDIR = "${STAGING_DIR_HOST}${includedir}"


Regards,
-- 
Leon




More information about the Openembedded-devel mailing list