[OE-core] [PATCH 1/3] Wayland userspace library initial 1.0.3

Burton, Ross ross.burton at intel.com
Fri Jan 4 11:02:55 UTC 2013


On 24 December 2012 09:57, Alex DAMIAN <alexandru.damian at intel.com> wrote:
> +do_install_append() {
> +  sed -i -e '4,10s,prefix=.*$,prefix=${D}/${prefix},;4,10s,exec_prefix=,exec_prefix=${D}/${exec_prefix},' \
> +    ${D}/${datadir}/aclocal/wayland-scanner.m4
> +}

You can suffix this with _class-native to show/ensure that it's only
intended for the native case.

The use of addresses seems fragile, would it be safer to inject the
paths pre-configure when @prefix@ is easily replaceable?  Thinking
about it, why are the paths wrong in the first place?

Wouldn't STAGING_DIR_NATIVE be more correct than D?

Ross




More information about the Openembedded-core mailing list