On 24 December 2012 09:57, Alex DAMIAN <alexandru.dam...@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 _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core