summaryrefslogtreecommitdiff
path: root/packages/mozilla
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-09-06 15:33:29 +0000
committerKoen Kooi <koen@openembedded.org>2008-09-06 15:33:29 +0000
commit752ba454e82fc8661964cdb3c0213381f35b796f (patch)
tree9cf2af6967b9230ad5b1c2d2a150fc904dda910c /packages/mozilla
parent628c290f2f8a068c1fe87f90377f370d0cf3740e (diff)
fennec: fix compile, do_install fails since fennec doesn't support 'direct installs'
Diffstat (limited to 'packages/mozilla')
-rw-r--r--packages/mozilla/fennec_hg.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/mozilla/fennec_hg.bb b/packages/mozilla/fennec_hg.bb
index 8faa26030c..b71cf9b8b3 100644
--- a/packages/mozilla/fennec_hg.bb
+++ b/packages/mozilla/fennec_hg.bb
@@ -13,9 +13,12 @@ S = "${WORKDIR}/mozilla-central"
inherit mozilla
require firefox.inc
+PARALLEL_MAKE = ""
export HOST_LIBIDL_CONFIG = "${STAGING_BINDIR_NATIVE}/libIDL-config-2"
FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2"
+export LIBXUL_DIST="${S}/objdir/xulrunner/dist/"
+
do_configure_prepend() {
if [ -e ${WORKDIR}/mobile-browser ] ; then
mv ${WORKDIR}/mobile-browser ${S}/mobile
@@ -28,6 +31,9 @@ do_compile_prepend() {
sed -i -e "s|CPU_ARCH =|CPU_ARCH = ${TARGET_ARCH}|" \
-e s:'$(OS_TEST)':${TARGET_ARCH}:g \
${S}/security/coreconf/Linux.mk
+
+ sed -i -e /LIBXUL_DIST/d ${S}/objdir/mobile/config/autoconf.mk
+ echo "LIBXUL_DIST=${S}/objdir/xulrunner/dist" >> ${S}/objdir/mobile/config/autoconf.mk
}
do_stage() {