[oe] [meta-oe][PATCH] eject: link po subdirectory for out-of-tree build

Ash Charles ashcharles at gmail.com
Mon May 26 19:27:39 UTC 2014


The po subdirectory is not copied over to the build directory of
found on the VPATH for an out-of-tree build so we symlink it over.

Signed-off-by: Ash Charles <ashcharles at gmail.com>
---
 meta-oe/recipes-support/eject/eject_2.1.5.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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..5c9c749 100644
--- a/meta-oe/recipes-support/eject/eject_2.1.5.bb
+++ b/meta-oe/recipes-support/eject/eject_2.1.5.bb
@@ -14,7 +14,9 @@ SRC_URI[sha256sum] = "ef9f7906484cfde4ba223b2682a37058f9a3c7d3bb1adda7a34a67402e
 
 S = "${WORKDIR}/${BPN}"
 
-PR = "r1"
+do_compile_prepend() {
+    ln -s ${S}/po po
+}
 
 ALTERNATIVE_${PN} = "volname eject"
 ALTERNATIVE_LINK_NAME[volname] = "${bindir}/volname"
-- 
1.8.3.2




More information about the Openembedded-devel mailing list