Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Ash Charles <ashcharles@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [Patch v3] eject: copy po subdirectory for out-of-tree build
Date: Tue, 10 Jun 2014 11:18:02 -0700	[thread overview]
Message-ID: <1402424282-324-1-git-send-email-ashcharles@gmail.com> (raw)
In-Reply-To: <20140610112604.GF2433@jama>

The po subdirectory found on the VPATH for an out-of-tree build so we
copy it over. See [1] for discussion.

[1] http://lists.openembedded.org/pipermail/openembedded-devel/2014-May/096052.html

v3: only create and populate po/ if it doesn't already exist

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Reviewed-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-support/eject/eject_2.1.5.bb | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/meta-oe/recipes-support/eject/eject_2.1.5.bb b/meta-oe/recipes-support/eject/eject_2.1.5.bb
index c47c653..a71d83f 100644
--- a/meta-oe/recipes-support/eject/eject_2.1.5.bb
+++ b/meta-oe/recipes-support/eject/eject_2.1.5.bb
@@ -16,6 +16,12 @@ S = "${WORKDIR}/${BPN}"
 
 PR = "r1"
 
+do_compile_prepend() {
+    # PO subdir must be in build directory
+    mkdir -p ${B}/po
+    cp -r ${S}/po/* ${B}/po/
+}
+
 ALTERNATIVE_${PN} = "volname eject"
 ALTERNATIVE_LINK_NAME[volname] = "${bindir}/volname"
 ALTERNATIVE_LINK_NAME[eject] = "${bindir}/eject"
-- 
1.8.3.2



  reply	other threads:[~2014-06-10 18:18 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-26 19:27 [meta-oe][PATCH] eject: link po subdirectory for out-of-tree build Ash Charles
2014-05-26 20:31 ` Otavio Salvador
2014-05-26 22:09   ` Ash Charles
2014-05-27  0:46     ` Ash Charles
2014-05-27  2:43       ` Otavio Salvador
2014-05-27  9:18 ` Martin Jansa
2014-05-27 15:15   ` Ash Charles
2014-05-27 15:32     ` Otavio Salvador
2014-05-27 16:43       ` [meta-oe][PATCH v2] eject: copy " Ash Charles
2014-05-27 17:41         ` Otavio Salvador
2014-05-27 16:44       ` [meta-oe][PATCH] eject: link " Ash Charles
2014-05-28 19:43       ` Khem Raj
2014-06-10 11:26 ` Martin Jansa
2014-06-10 18:18   ` Ash Charles [this message]
2014-06-13 11:40     ` [Patch v3] eject: copy " Martin Jansa
2014-06-13 13:57       ` Ash Charles
2014-06-13 14:47         ` Martin Jansa
2014-06-13 20:45           ` [Patch v4] " Ash Charles

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=1402424282-324-1-git-send-email-ashcharles@gmail.com \
    --to=ashcharles@gmail.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