[oe] [PATCH 2/2] mysql5-native: put make install to do_install after autotools_stage_all was removed with do_stage in eaf0fc03acfb262bcd614a14086a1b28ec850f46

Koen Kooi k.kooi at student.utwente.nl
Thu Jan 6 08:03:10 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05-01-11 16:33, Martin Jansa wrote:
> Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
> ---
>  recipes/mysql/mysql5-native_5.1.40.bb |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/recipes/mysql/mysql5-native_5.1.40.bb b/recipes/mysql/mysql5-native_5.1.40.bb
> index 40d07ec..8001783 100644
> --- a/recipes/mysql/mysql5-native_5.1.40.bb
> +++ b/recipes/mysql/mysql5-native_5.1.40.bb
> @@ -12,6 +12,10 @@ EXTRA_OEMAKE = ""
>  EXTRA_OECONF = " --with-embedded-server "
>  
>  do_install() {
> +        oe_runmake 'DESTDIR=${D}' install
> +        mv -f ${D}${libdir}/mysql/* ${D}${libdir}
> +        rmdir ${D}${libdir}/mysql
> +
>          install -d ${D}${bindir}
>          install -m 0755 sql/gen_lex_hash ${D}${bindir}/
>  }

Weird, I saw no build errors with my builds from scratch, but I guess my
builds only needed gen_lex_hash and target headers.

Which recipes actually need the native libs and headers?

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFNJXc9MkyGM64RGpERAgMXAJ9ckZii9ViSichd3Whc8G8VuoHJ/wCeKkxo
ueOBrSWg2ghV2Z7IiXSlF3U=
=uit1
-----END PGP SIGNATURE-----





More information about the Openembedded-devel mailing list