From: Max Krummenacher <max.oss.09@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: gary@mlbassoc.com
Subject: [meta-browser][PATCH 6/8] mozilla.bbclass: do out of tree build
Date: Sun, 16 Aug 2015 21:40:21 +0200 [thread overview]
Message-ID: <1439754023-13290-7-git-send-email-max.oss.09@gmail.com> (raw)
In-Reply-To: <1439754023-13290-1-git-send-email-max.oss.09@gmail.com>
Do a out of tree build by setting MOZ_OBJDIR to something != ${S}.
Newer firefox do no longer allow do build in tree.
Change firefox_10.0.11esr.bb accordingly.
Signed-off-by: Max Krummenacher <max.oss.09@gmail.com>
---
classes/mozilla.bbclass | 2 +-
recipes-mozilla/firefox/firefox_10.0.11esr.bb | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/classes/mozilla.bbclass b/classes/mozilla.bbclass
index f9a84aa..940f381 100644
--- a/classes/mozilla.bbclass
+++ b/classes/mozilla.bbclass
@@ -12,7 +12,7 @@ SELECTED_OPTIMIZATION = "-Os -fsigned-char -fno-strict-aliasing"
export CROSS_COMPILE = "1"
export MOZCONFIG = "${WORKDIR}/mozconfig"
-export MOZ_OBJDIR = "${S}"
+export MOZ_OBJDIR = "${WORKDIR}/obj-${TARGET_SYS}"
export CONFIGURE_ARGS = "${EXTRA_OECONF}"
export HOST_CC = "${BUILD_CC}"
diff --git a/recipes-mozilla/firefox/firefox_10.0.11esr.bb b/recipes-mozilla/firefox/firefox_10.0.11esr.bb
index 07226ff..94bd4be 100644
--- a/recipes-mozilla/firefox/firefox_10.0.11esr.bb
+++ b/recipes-mozilla/firefox/firefox_10.0.11esr.bb
@@ -91,7 +91,7 @@ EXTRA_OEMAKE = "installdir=${libdir}/${PN}"
ARM_INSTRUCTION_SET = "arm"
do_install() {
- oe_runmake DESTDIR="${D}" destdir="${D}" install
+ oe_runmake -C "${MOZ_OBJDIR}" DESTDIR="${D}" destdir="${D}" install
install -d ${D}${datadir}/applications
install -d ${D}${datadir}/pixmaps
install -m 0644 ${WORKDIR}/mozilla-firefox.desktop ${D}${datadir}/applications/
--
1.8.4.5
next prev parent reply other threads:[~2015-08-16 19:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-16 19:40 [meta-browser][PATCH 0/8] firefox: fixes and update to 10.0.12esr Max Krummenacher
2015-08-16 19:40 ` [meta-browser][PATCH 1/8] firefox: Update download server Max Krummenacher
2015-08-16 19:40 ` [meta-browser][PATCH 2/8] firefox-l10n: " Max Krummenacher
2015-08-16 19:40 ` [meta-browser][PATCH 3/8] firefox: prevent SIGILL crash with arm build Max Krummenacher
2015-08-16 19:40 ` [meta-browser][PATCH 4/8] firefox: prevent SIGILL crash #2 " Max Krummenacher
2015-08-16 19:40 ` [meta-browser][PATCH 5/8] firefox: stop using variable for local files Max Krummenacher
2015-08-16 19:40 ` Max Krummenacher [this message]
2015-08-16 19:40 ` [meta-browser][PATCH 7/8] firefox: Update to 10.0.12esr Max Krummenacher
2015-08-16 19:40 ` [meta-browser][PATCH 8/8] firefox-l10n: Update all languages for 10.0.12esr release Max Krummenacher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1439754023-13290-7-git-send-email-max.oss.09@gmail.com \
--to=max.oss.09@gmail.com \
--cc=gary@mlbassoc.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox