diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2007-11-17 23:21:03 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2007-11-17 23:21:03 +0000 |
commit | 4b751ba2557d2e3f448f92589ee0c9d5e30f6388 (patch) | |
tree | 1d6d10ef0f954314d31dba063faa454bf33d05f1 /classes/distutils.bbclass | |
parent | 702d82aa16bb05d638353677359846af2d125674 (diff) |
classes: Sync staging layout cleanups from Poky
Diffstat (limited to 'classes/distutils.bbclass')
-rw-r--r-- | classes/distutils.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/distutils.bbclass b/classes/distutils.bbclass index c07a9911cd..7a18e71c04 100644 --- a/classes/distutils.bbclass +++ b/classes/distutils.bbclass @@ -13,10 +13,10 @@ distutils_stage_headers() { } distutils_stage_all() { - install -d ${STAGING_INCDIR}/../${PYTHON_DIR}/site-packages - PYTHONPATH=${STAGING_INCDIR}/../${PYTHON_DIR}/site-packages \ + install -d ${STAGING_DIR_HOST}${layout_prefix}/${PYTHON_DIR}/site-packages + PYTHONPATH=${STAGING_DIR_HOST}${layout_prefix}/${PYTHON_DIR}/site-packages \ BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ - ${STAGING_BINDIR_NATIVE}/python setup.py install --prefix=${STAGING_INCDIR}/.. --install-data=${STAGING_INCDIR}/../share || \ + ${STAGING_BINDIR_NATIVE}/python setup.py install --prefix=${STAGING_DIR_HOST}${layout_prefix} --install-data=${STAGING_DATADIR} || \ oefatal "python setup.py install (stage) execution failed." } |