diff options
| author | Richard Purdie <rpurdie@linux.intel.com> | 2009-09-16 23:09:44 +0100 | 
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-09-17 22:24:36 +0100 | 
| commit | af85ce4b4e675feb5796f87137c86d70c2f15b9a (patch) | |
| tree | f19dbb9bcf1eec671b26685458f7cc47ebb3721e /meta/classes/distutils.bbclass | |
| parent | 046ae6a38d829048663fe1afb1f67de1fbe2e3b5 (diff) | |
| download | openembedded-core-af85ce4b4e675feb5796f87137c86d70c2f15b9a.tar.gz openembedded-core-af85ce4b4e675feb5796f87137c86d70c2f15b9a.tar.bz2 openembedded-core-af85ce4b4e675feb5796f87137c86d70c2f15b9a.zip | |
Remove layout_* variables
Remove layout_* variables and replace them with variables specific to the
different classes. The layout variables were only useful for the native/cross
classes and caused more confusion than they solved. They didn't scale to the
sdk class. It now clear a small set of native/cross variables fulfil the needs.
This patch also changes native.bbclass to use "/" as the STAGING_DIR which makes
sense since we're installing binaries into the locations we're compiling them for.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/distutils.bbclass')
| -rw-r--r-- | meta/classes/distutils.bbclass | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/meta/classes/distutils.bbclass b/meta/classes/distutils.bbclass index 2fcf0fd6cb..0b9bdfe1a9 100644 --- a/meta/classes/distutils.bbclass +++ b/meta/classes/distutils.bbclass @@ -2,7 +2,7 @@ inherit distutils-base  DISTUTILS_BUILD_ARGS ?= ""  DISTUTILS_STAGE_HEADERS_ARGS ?= "--install-dir=${STAGING_INCDIR}/${PYTHON_DIR}" -DISTUTILS_STAGE_ALL_ARGS ?= "--prefix=${STAGING_DIR_HOST}${layout_prefix} \ +DISTUTILS_STAGE_ALL_ARGS ?= "--prefix=${STAGING_DIR_HOST}${prefix} \      --install-data=${STAGING_DATADIR}"  DISTUTILS_INSTALL_ARGS ?= "--prefix=${D}/${prefix} \      --install-data=${D}/${datadir}" @@ -16,7 +16,7 @@ distutils_do_compile() {  }  distutils_stage_headers() { -        install -d ${STAGING_DIR_HOST}${layout_libdir}/${PYTHON_DIR}/site-packages +        install -d ${STAGING_DIR_HOST}${libdir}/${PYTHON_DIR}/site-packages          STAGING_INCDIR=${STAGING_INCDIR} \          STAGING_LIBDIR=${STAGING_LIBDIR} \          BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ @@ -25,10 +25,10 @@ distutils_stage_headers() {  }  distutils_stage_all() { -        install -d ${STAGING_DIR_HOST}${layout_prefix}/${PYTHON_DIR}/site-packages +        install -d ${STAGING_DIR_HOST}${prefix}/${PYTHON_DIR}/site-packages          STAGING_INCDIR=${STAGING_INCDIR} \          STAGING_LIBDIR=${STAGING_LIBDIR} \ -        PYTHONPATH=${STAGING_DIR_HOST}${layout_prefix}/${PYTHON_DIR}/site-packages \ +        PYTHONPATH=${STAGING_DIR_HOST}${prefix}/${PYTHON_DIR}/site-packages \          BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \          ${STAGING_BINDIR_NATIVE}/python setup.py install ${DISTUTILS_STAGE_ALL_ARGS} || \          oefatal "python setup.py install (stage) execution failed." | 
