All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ash Charles <ashcharles@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-oe][PATCH v2] eject: copy po subdirectory for out-of-tree build
Date: Tue, 27 May 2014 09:43:36 -0700	[thread overview]
Message-ID: <1401209016-6182-1-git-send-email-ashcharles@gmail.com> (raw)
In-Reply-To: <CAP9ODKrwoKgT377SUfe6e9=VbuwX4s-7tzdTwXgdxqC=fzPAkg@mail.gmail.com>

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

Signed-off-by: Ash Charles <ashcharles@gmail.com>
---
 meta-oe/recipes-support/eject/eject_2.1.5.bb | 5 +++++
 1 file changed, 5 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..b6e181f 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,11 @@ S = "${WORKDIR}/${BPN}"
 
 PR = "r1"
 
+do_compile_prepend() {
+    # PO subdir must be in build directory
+    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-05-27 16:43 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       ` Ash Charles [this message]
2014-05-27 17:41         ` [meta-oe][PATCH v2] eject: copy " 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   ` [Patch v3] eject: copy " Ash Charles
2014-06-13 11:40     ` 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=1401209016-6182-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.