diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/binconfig.bbclass | 8 | ||||
-rw-r--r-- | meta/classes/bootimg.bbclass | 4 | ||||
-rw-r--r-- | meta/classes/cpan.bbclass | 4 | ||||
-rw-r--r-- | meta/classes/cross.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/distutils.bbclass | 6 | ||||
-rw-r--r-- | meta/classes/mozilla.bbclass | 6 | ||||
-rw-r--r-- | meta/classes/tmake.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/xlibs.bbclass | 4 |
8 files changed, 18 insertions, 18 deletions
diff --git a/meta/classes/binconfig.bbclass b/meta/classes/binconfig.bbclass index 497b78f454..4e425a76d6 100644 --- a/meta/classes/binconfig.bbclass +++ b/meta/classes/binconfig.bbclass | |||
@@ -16,8 +16,8 @@ def get_binconfig_mangle(d): | |||
16 | s += " -e 's:OELIBDIR:${STAGING_LIBDIR}:;'" | 16 | s += " -e 's:OELIBDIR:${STAGING_LIBDIR}:;'" |
17 | s += " -e 's:OEINCDIR:${STAGING_INCDIR}:;'" | 17 | s += " -e 's:OEINCDIR:${STAGING_INCDIR}:;'" |
18 | s += " -e 's:OEDATADIR:${STAGING_DATADIR}:'" | 18 | s += " -e 's:OEDATADIR:${STAGING_DATADIR}:'" |
19 | s += " -e 's:OEPREFIX:${STAGING_LIBDIR}/..:'" | 19 | s += " -e 's:OEPREFIX:${STAGING_DIR_HOST}${layout_prefix}:'" |
20 | s += " -e 's:OEEXECPREFIX:${STAGING_LIBDIR}/..:'" | 20 | s += " -e 's:OEEXECPREFIX:${STAGING_DIR_HOST}${layout_exec_prefix}:'" |
21 | s += " -e 's:-I${WORKDIR}:-I${STAGING_INCDIR}:'" | 21 | s += " -e 's:-I${WORKDIR}:-I${STAGING_INCDIR}:'" |
22 | s += " -e 's:-L${WORKDIR}:-L${STAGING_LIBDIR}:'" | 22 | s += " -e 's:-L${WORKDIR}:-L${STAGING_LIBDIR}:'" |
23 | return s | 23 | return s |
@@ -33,7 +33,7 @@ do_install_append() { | |||
33 | -e 's:${STAGING_LIBDIR}:${libdir}:g;' \ | 33 | -e 's:${STAGING_LIBDIR}:${libdir}:g;' \ |
34 | -e 's:${STAGING_INCDIR}:${includedir}:g;' \ | 34 | -e 's:${STAGING_INCDIR}:${includedir}:g;' \ |
35 | -e 's:${STAGING_DATADIR}:${datadir}:' \ | 35 | -e 's:${STAGING_DATADIR}:${datadir}:' \ |
36 | -e 's:${STAGING_LIBDIR}/..:${prefix}:' > ${D}${bindir}/`basename $config` | 36 | -e 's:${STAGING_DIR_HOST}${layout_prefix}:${prefix}:' > ${D}${bindir}/`basename $config` |
37 | done | 37 | done |
38 | fi | 38 | fi |
39 | 39 | ||
@@ -42,7 +42,7 @@ do_install_append() { | |||
42 | -e 's:${STAGING_LIBDIR}:${libdir}:g;' \ | 42 | -e 's:${STAGING_LIBDIR}:${libdir}:g;' \ |
43 | -e 's:${STAGING_INCDIR}:${includedir}:g;' \ | 43 | -e 's:${STAGING_INCDIR}:${includedir}:g;' \ |
44 | -e 's:${STAGING_DATADIR}:${datadir}:' \ | 44 | -e 's:${STAGING_DATADIR}:${datadir}:' \ |
45 | -e 's:${STAGING_LIBDIR}/..:${prefix}:' \ | 45 | -e 's:${STAGING_DIR_HOST}${layout_prefix}:${prefix}:' \ |
46 | $lafile | 46 | $lafile |
47 | done | 47 | done |
48 | } | 48 | } |
diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass index 2d64ec1fa9..0c96001096 100644 --- a/meta/classes/bootimg.bbclass +++ b/meta/classes/bootimg.bbclass | |||
@@ -41,7 +41,7 @@ build_boot_bin() { | |||
41 | install -m 0644 ${INITRD} ${HDDDIR}/initrd | 41 | install -m 0644 ${INITRD} ${HDDDIR}/initrd |
42 | fi | 42 | fi |
43 | 43 | ||
44 | install -m 444 ${STAGING_DIR}/${BUILD_SYS}/share/syslinux/ldlinux.sys \ | 44 | install -m 444 ${STAGING_DATADIR_NATIVE}/syslinux/ldlinux.sys \ |
45 | ${HDDDIR}/ldlinux.sys | 45 | ${HDDDIR}/ldlinux.sys |
46 | 46 | ||
47 | # Do a little math, bash style | 47 | # Do a little math, bash style |
@@ -75,7 +75,7 @@ build_boot_bin() { | |||
75 | install -m 0644 ${INITRD} ${ISODIR}/initrd | 75 | install -m 0644 ${INITRD} ${ISODIR}/initrd |
76 | 76 | ||
77 | # And install the syslinux stuff | 77 | # And install the syslinux stuff |
78 | cp ${STAGING_DIR}/${BUILD_SYS}/share/syslinux/isolinux.bin \ | 78 | cp ${STAGING_DATADIR_NATIVE}/syslinux/isolinux.bin \ |
79 | ${ISODIR} | 79 | ${ISODIR} |
80 | 80 | ||
81 | mkisofs -V ${BOOTIMG_VOLUME_ID} \ | 81 | mkisofs -V ${BOOTIMG_VOLUME_ID} \ |
diff --git a/meta/classes/cpan.bbclass b/meta/classes/cpan.bbclass index 3250528c7a..5a0b4a5c92 100644 --- a/meta/classes/cpan.bbclass +++ b/meta/classes/cpan.bbclass | |||
@@ -20,14 +20,14 @@ cpan_do_configure () { | |||
20 | -e "s:\(SITEARCHEXP = \).*:\1${sitearchexp}:" \ | 20 | -e "s:\(SITEARCHEXP = \).*:\1${sitearchexp}:" \ |
21 | -e "s:\(INSTALLVENDORLIB = \).*:\1${D}${datadir}/perl5:" \ | 21 | -e "s:\(INSTALLVENDORLIB = \).*:\1${D}${datadir}/perl5:" \ |
22 | -e "s:\(INSTALLVENDORARCH = \).*:\1${D}${libdir}/perl5:" \ | 22 | -e "s:\(INSTALLVENDORARCH = \).*:\1${D}${libdir}/perl5:" \ |
23 | -e "s:\(LDDLFLAGS.*\)${STAGING_DIR}/${BUILD_SYS}/lib:\1${STAGING_LIBDIR}:" \ | 23 | -e "s:\(LDDLFLAGS.*\)${STAGING_LIBDIR_NATIVE}:\1${STAGING_LIBDIR}:" \ |
24 | Makefile | 24 | Makefile |
25 | else | 25 | else |
26 | sed -i -e "s:\(SITELIBEXP = \).*:\1${sitelibexp}:" \ | 26 | sed -i -e "s:\(SITELIBEXP = \).*:\1${sitelibexp}:" \ |
27 | -e "s:\(SITEARCHEXP = \).*:\1${sitearchexp}:" \ | 27 | -e "s:\(SITEARCHEXP = \).*:\1${sitearchexp}:" \ |
28 | -e "s:\(INSTALLVENDORLIB = \).*:\1${D}${libdir}/perl5/site_perl/${version}:" \ | 28 | -e "s:\(INSTALLVENDORLIB = \).*:\1${D}${libdir}/perl5/site_perl/${version}:" \ |
29 | -e "s:\(INSTALLVENDORARCH = \).*:\1${D}${libdir}/perl5/site_perl/${version}:" \ | 29 | -e "s:\(INSTALLVENDORARCH = \).*:\1${D}${libdir}/perl5/site_perl/${version}:" \ |
30 | -e "s:\(LDDLFLAGS.*\)${STAGING_DIR}/${BUILD_SYS}/lib:\1${STAGING_LIBDIR}:" \ | 30 | -e "s:\(LDDLFLAGS.*\)${STAGING_LIBDIR_NATIVE}:\1${STAGING_LIBDIR}:" \ |
31 | Makefile | 31 | Makefile |
32 | fi | 32 | fi |
33 | fi | 33 | fi |
diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass index 3588e2344a..6e5480a2a0 100644 --- a/meta/classes/cross.bbclass +++ b/meta/classes/cross.bbclass | |||
@@ -18,7 +18,7 @@ CPPFLAGS = "${BUILD_CPPFLAGS}" | |||
18 | CFLAGS = "${BUILD_CFLAGS}" | 18 | CFLAGS = "${BUILD_CFLAGS}" |
19 | CXXFLAGS = "${BUILD_CFLAGS}" | 19 | CXXFLAGS = "${BUILD_CFLAGS}" |
20 | LDFLAGS = "${BUILD_LDFLAGS}" | 20 | LDFLAGS = "${BUILD_LDFLAGS}" |
21 | LDFLAGS_build-darwin = "-L${STAGING_DIR}/${BUILD_SYS}/lib " | 21 | LDFLAGS_build-darwin = "-L${STAGING_LIBDIR_NATIVE}" |
22 | 22 | ||
23 | # Overrides for paths | 23 | # Overrides for paths |
24 | 24 | ||
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 | ||
15 | distutils_stage_all() { | 15 | distutils_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 | ||
diff --git a/meta/classes/mozilla.bbclass b/meta/classes/mozilla.bbclass index 833bd2747c..be0a25e305 100644 --- a/meta/classes/mozilla.bbclass +++ b/meta/classes/mozilla.bbclass | |||
@@ -19,7 +19,7 @@ export MOZ_OBJDIR = "${S}" | |||
19 | export CONFIGURE_ARGS = "${EXTRA_OECONF}" | 19 | export CONFIGURE_ARGS = "${EXTRA_OECONF}" |
20 | export HOST_LIBIDL_CFLAGS = "`${HOST_LIBIDL_CONFIG} --cflags`" | 20 | export HOST_LIBIDL_CFLAGS = "`${HOST_LIBIDL_CONFIG} --cflags`" |
21 | export HOST_LIBIDL_LIBS = "`${HOST_LIBIDL_CONFIG} --libs`" | 21 | export HOST_LIBIDL_LIBS = "`${HOST_LIBIDL_CONFIG} --libs`" |
22 | export HOST_LIBIDL_CONFIG = "PKG_CONFIG_PATH=${STAGING_DIR}/${BUILD_SYS}/share/pkgconfig pkg-config libIDL-2.0" | 22 | export HOST_LIBIDL_CONFIG = "PKG_CONFIG_PATH=${STAGING_LIBDIR_NATIVE}/pkgconfig pkg-config libIDL-2.0" |
23 | export HOST_CC = "${BUILD_CC}" | 23 | export HOST_CC = "${BUILD_CC}" |
24 | export HOST_CXX = "${BUILD_CXX}" | 24 | export HOST_CXX = "${BUILD_CXX}" |
25 | export HOST_CFLAGS = "${BUILD_CFLAGS}" | 25 | export HOST_CFLAGS = "${BUILD_CFLAGS}" |
@@ -33,8 +33,8 @@ mozilla_do_configure() { | |||
33 | set -e | 33 | set -e |
34 | for cg in `find ${S} -name config.guess`; do | 34 | for cg in `find ${S} -name config.guess`; do |
35 | install -m 0755 \ | 35 | install -m 0755 \ |
36 | ${STAGING_DIR}/${BUILD_SYS}/share/gnu-config/config.guess \ | 36 | ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess \ |
37 | ${STAGING_DIR}/${BUILD_SYS}/share/gnu-config/config.sub \ | 37 | ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub \ |
38 | `dirname $cg`/ | 38 | `dirname $cg`/ |
39 | done | 39 | done |
40 | ) | 40 | ) |
diff --git a/meta/classes/tmake.bbclass b/meta/classes/tmake.bbclass index 05b82e496d..dbd0bf2763 100644 --- a/meta/classes/tmake.bbclass +++ b/meta/classes/tmake.bbclass | |||
@@ -54,7 +54,7 @@ python tmake_do_createpro() { | |||
54 | } | 54 | } |
55 | 55 | ||
56 | tmake_do_configure() { | 56 | tmake_do_configure() { |
57 | paths="${STAGING_DATADIR}/tmake/qws/${TARGET_OS}-${TARGET_ARCH}-g++ $STAGING_DIR/share/tmake/$OS-g++" | 57 | paths="${STAGING_DATADIR}/tmake/qws/${TARGET_OS}-${TARGET_ARCH}-g++ ${STAGING_DATADIR}/tmake/$OS-g++" |
58 | if (echo "${TARGET_ARCH}"|grep -q 'i.86'); then | 58 | if (echo "${TARGET_ARCH}"|grep -q 'i.86'); then |
59 | paths="${STAGING_DATADIR}/tmake/qws/${TARGET_OS}-x86-g++ $paths" | 59 | paths="${STAGING_DATADIR}/tmake/qws/${TARGET_OS}-x86-g++ $paths" |
60 | fi | 60 | fi |
diff --git a/meta/classes/xlibs.bbclass b/meta/classes/xlibs.bbclass index e797748770..ae8f928f1e 100644 --- a/meta/classes/xlibs.bbclass +++ b/meta/classes/xlibs.bbclass | |||
@@ -6,10 +6,10 @@ XLIBS_CVS = "${FREEDESKTOP_CVS}/xlibs" | |||
6 | inherit autotools pkgconfig | 6 | inherit autotools pkgconfig |
7 | 7 | ||
8 | do_stage() { | 8 | do_stage() { |
9 | oe_runmake install prefix=${STAGING_DIR} \ | 9 | oe_runmake install prefix=${STAGING_DIR_HOST}${layout_prefix} \ |
10 | bindir=${STAGING_BINDIR} \ | 10 | bindir=${STAGING_BINDIR} \ |
11 | includedir=${STAGING_INCDIR} \ | 11 | includedir=${STAGING_INCDIR} \ |
12 | libdir=${STAGING_LIBDIR} \ | 12 | libdir=${STAGING_LIBDIR} \ |
13 | datadir=${STAGING_DATADIR} \ | 13 | datadir=${STAGING_DATADIR} \ |
14 | mandir=${STAGING_DATADIR}/man | 14 | mandir=${STAGING_DIR_HOST}${layout_mandir} |
15 | } | 15 | } |