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

Otavio Salvador otavio at ossystems.com.br
Mon May 26 20:31:43 UTC 2014


On Mon, May 26, 2014 at 4:27 PM, Ash Charles <ashcharles at gmail.com> 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"

You cannot remove the PR without a new version coming out; if you do,
package feeds will get the  revision going backwards.

> +do_compile_prepend() {
> +    ln -s ${S}/po po
> +}

This is not the right fix. Please fix the po/Makefile to use $(srcdir)
and like so you don't need to link it over.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the Openembedded-devel mailing list