summaryrefslogtreecommitdiffstats
path: root/meta/classes/autotools.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-09-16 23:09:44 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-09-17 22:24:36 +0100
commitaf85ce4b4e675feb5796f87137c86d70c2f15b9a (patch)
treef19dbb9bcf1eec671b26685458f7cc47ebb3721e /meta/classes/autotools.bbclass
parent046ae6a38d829048663fe1afb1f67de1fbe2e3b5 (diff)
downloadpoky-af85ce4b4e675feb5796f87137c86d70c2f15b9a.tar.gz
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/autotools.bbclass')
-rw-r--r--meta/classes/autotools.bbclass12
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index d7fc37566c..8aa035191e 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -206,11 +206,11 @@ autotools_stage_all() {
206 oe_runmake DESTDIR="${STAGE_TEMP}" install 206 oe_runmake DESTDIR="${STAGE_TEMP}" install
207 autotools_stage_dir ${STAGE_TEMP}/${includedir} ${STAGING_INCDIR} 207 autotools_stage_dir ${STAGE_TEMP}/${includedir} ${STAGING_INCDIR}
208 if [ "${BUILD_SYS}" = "${HOST_SYS}" ]; then 208 if [ "${BUILD_SYS}" = "${HOST_SYS}" ]; then
209 autotools_stage_dir ${STAGE_TEMP}/${bindir} ${STAGING_DIR_HOST}${layout_bindir} 209 autotools_stage_dir ${STAGE_TEMP}/${bindir} ${STAGING_DIR_HOST}${bindir}
210 autotools_stage_dir ${STAGE_TEMP}/${sbindir} ${STAGING_DIR_HOST}${layout_sbindir} 210 autotools_stage_dir ${STAGE_TEMP}/${sbindir} ${STAGING_DIR_HOST}${sbindir}
211 autotools_stage_dir ${STAGE_TEMP}/${base_bindir} ${STAGING_DIR_HOST}${layout_base_bindir} 211 autotools_stage_dir ${STAGE_TEMP}/${base_bindir} ${STAGING_DIR_HOST}${base_bindir}
212 autotools_stage_dir ${STAGE_TEMP}/${base_sbindir} ${STAGING_DIR_HOST}${layout_base_sbindir} 212 autotools_stage_dir ${STAGE_TEMP}/${base_sbindir} ${STAGING_DIR_HOST}${base_sbindir}
213 autotools_stage_dir ${STAGE_TEMP}/${libexecdir} ${STAGING_DIR_HOST}${layout_libexecdir} 213 autotools_stage_dir ${STAGE_TEMP}/${libexecdir} ${STAGING_DIR_HOST}${libexecdir}
214 fi 214 fi
215 if [ -d ${STAGE_TEMP}/${libdir} ] 215 if [ -d ${STAGE_TEMP}/${libdir} ]
216 then 216 then
@@ -218,7 +218,7 @@ autotools_stage_all() {
218 fi 218 fi
219 if [ -d ${STAGE_TEMP}/${base_libdir} ] 219 if [ -d ${STAGE_TEMP}/${base_libdir} ]
220 then 220 then
221 autotools_stage_libdir ${STAGE_TEMP}/${base_libdir} ${STAGING_DIR_HOST}${layout_base_libdir} 221 autotools_stage_libdir ${STAGE_TEMP}/${base_libdir} ${STAGING_DIR_HOST}${base_libdir}
222 fi 222 fi
223 rm -rf ${STAGE_TEMP}/${mandir} || true 223 rm -rf ${STAGE_TEMP}/${mandir} || true
224 rm -rf ${STAGE_TEMP}/${infodir} || true 224 rm -rf ${STAGE_TEMP}/${infodir} || true