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

Martin Jansa martin.jansa at gmail.com
Tue May 27 09:18:13 UTC 2014


On Mon, May 26, 2014 at 12:27:39PM -0700, Ash Charles wrote:
> 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"

This will make version going backwards and we don't want that, you can
drop PR only when incrementing PV or PE.

> +do_compile_prepend() {
> +    ln -s ${S}/po po
> +}
>  
>  ALTERNATIVE_${PN} = "volname eject"
>  ALTERNATIVE_LINK_NAME[volname] = "${bindir}/volname"
> -- 
> 1.8.3.2
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20140527/047761d6/attachment-0002.sig>


More information about the Openembedded-devel mailing list