diff options
author | Richard Purdie <richard@openedhand.com> | 2006-11-25 10:01:30 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-11-25 10:01:30 +0000 |
commit | 4f249a8efbced11400f99c182ef101b7c00e7ba8 (patch) | |
tree | 03766f69c5fd2b6a4d1f3d8936cdf6c6d32b8989 /meta/classes/mozilla.bbclass | |
parent | 82dd73248db6eb9be25db48081a573d7027a204f (diff) | |
download | openembedded-core-4f249a8efbced11400f99c182ef101b7c00e7ba8.tar.gz openembedded-core-4f249a8efbced11400f99c182ef101b7c00e7ba8.tar.bz2 openembedded-core-4f249a8efbced11400f99c182ef101b7c00e7ba8.zip |
Fix STAGING_BINDIR for multimachine use by spliting into STAGING_BINDIR and STAGING_BINDIR_NATIVE and adding both to PATH
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@958 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/mozilla.bbclass')
-rw-r--r-- | meta/classes/mozilla.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/mozilla.bbclass b/meta/classes/mozilla.bbclass index 3295c2b270..bd8e9193d9 100644 --- a/meta/classes/mozilla.bbclass +++ b/meta/classes/mozilla.bbclass @@ -19,7 +19,7 @@ export MOZ_OBJDIR = "${S}" export CONFIGURE_ARGS = "${EXTRA_OECONF}" export HOST_LIBIDL_CFLAGS = "`${HOST_LIBIDL_CONFIG} --cflags`" export HOST_LIBIDL_LIBS = "`${HOST_LIBIDL_CONFIG} --libs`" -export HOST_LIBIDL_CONFIG = "PKG_CONFIG_PATH=${STAGING_BINDIR}/../share/pkgconfig pkg-config libIDL-2.0" +export HOST_LIBIDL_CONFIG = "PKG_CONFIG_PATH=${STAGING_DIR}/${BUILD_SYS}/share/pkgconfig pkg-config libIDL-2.0" export HOST_CC = "${BUILD_CC}" export HOST_CXX = "${BUILD_CXX}" export HOST_CFLAGS = "${BUILD_CFLAGS}" @@ -33,8 +33,8 @@ mozilla_do_configure() { set -e for cg in `find ${S} -name config.guess`; do install -m 0755 \ - ${STAGING_BINDIR}/../share/gnu-config/config.guess \ - ${STAGING_BINDIR}/../share/gnu-config/config.sub \ + ${STAGING_DIR}/${BUILD_SYS}/share/gnu-config/config.guess \ + ${STAGING_DIR}/${BUILD_SYS}/share/gnu-config/config.sub \ `dirname $cg`/ done ) |