summaryrefslogtreecommitdiffstats
path: root/meta/classes/distutils.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-11-12 11:10:08 +0000
committerRichard Purdie <richard@openedhand.com>2007-11-12 11:10:08 +0000
commitb17670211a86799c101394dcaa7f1ed88758ddde (patch)
tree3fc555d85a85d4ad9e658a52316bab98aacf5f0a /meta/classes/distutils.bbclass
parent0e09147de182aeb96cff9ff59211b3d907ba83f7 (diff)
downloadpoky-b17670211a86799c101394dcaa7f1ed88758ddde.tar.gz
Remove hardcoded staging layout assumptions
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3117 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/distutils.bbclass')
-rw-r--r--meta/classes/distutils.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/distutils.bbclass b/meta/classes/distutils.bbclass
index c07a9911cd..7a18e71c04 100644
--- a/meta/classes/distutils.bbclass
+++ b/meta/classes/distutils.bbclass
@@ -13,10 +13,10 @@ distutils_stage_headers() {
13} 13}
14 14
15distutils_stage_all() { 15distutils_stage_all() {
16 install -d ${STAGING_INCDIR}/../${PYTHON_DIR}/site-packages 16 install -d ${STAGING_DIR_HOST}${layout_prefix}/${PYTHON_DIR}/site-packages
17 PYTHONPATH=${STAGING_INCDIR}/../${PYTHON_DIR}/site-packages \ 17 PYTHONPATH=${STAGING_DIR_HOST}${layout_prefix}/${PYTHON_DIR}/site-packages \
18 BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ 18 BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
19 ${STAGING_BINDIR_NATIVE}/python setup.py install --prefix=${STAGING_INCDIR}/.. --install-data=${STAGING_INCDIR}/../share || \ 19 ${STAGING_BINDIR_NATIVE}/python setup.py install --prefix=${STAGING_DIR_HOST}${layout_prefix} --install-data=${STAGING_DATADIR} || \
20 oefatal "python setup.py install (stage) execution failed." 20 oefatal "python setup.py install (stage) execution failed."
21} 21}
22 22