diff options
author | Leon Woestenberg <leon@sidebranch.com> | 2009-11-24 12:16:21 +0100 |
---|---|---|
committer | Leon Woestenberg <leon@sidebranch.com> | 2009-11-24 12:16:21 +0100 |
commit | 740256e1a5464871d5f44d144860b5341588dc82 (patch) | |
tree | 079e37c4fb546d3bf999c8153da5c5f499d06aab /recipes/binutils/binutils_nios2-2.15.bb | |
parent | b67572044aeefa7e8075610e85520c0413c65332 (diff) | |
download | openembedded-740256e1a5464871d5f44d144860b5341588dc82.tar.gz |
cross.bbclass: Fix STAGING_{INC,LIB}DIR for -cross.
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, the construction is was follows:
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}"
Use the Poky approach instead, which introduces new variables for the
target stuff.
Signed-off-by: Leon Woestenberg <leon@sidebranch.com>
Diffstat (limited to 'recipes/binutils/binutils_nios2-2.15.bb')
0 files changed, 0 insertions, 0 deletions