Skip to contentSkip to conversation

A patch for autotools.bbclas which correct .la file

DISCUSSION Otavio Salvador 4 participants 5 messages Oct 30, 2008 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 1 line · Julian Chu

The attachment is a patch which works for me. Hopes it help.

Please fix indentation; it doesn't follow the code style.

Signature · 8 lines
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: [email protected]      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
 you the whole house."
#2 lore raw
In reply to a message not in the archive
Quoted 3 lines · Julian Chu

It supposed to be replaced by autotools.bbclass. However, it doesn't work when a recipe inherit autotools and overwrite do_install.

Hello,

I think it might not be a good idea to do it in do_install_append(), because lots of recipes which inherit autotools bbclass also define do_install_append(). So the current approach would fix some, but break a set of other packages.

Signature · 1 line
Kalev
#3 lore raw
Quoted 4 lines · On Thursday 30 October 2008 11:57:24 Kalev Lember wrote:

I think it might not be a good idea to do it in do_install_append(), because lots of recipes which inherit autotools bbclass also define do_install_append(). So the current approach would fix some, but break a set of other packages.

why? got an example?

z.

#4 lore raw
Quoted 10 lines · Holger Freyther
Quoted 5 lines · On Thursday 30 October 2008 11:57:24 Kalev Lember wrote:

I think it might not be a good idea to do it in do_install_append(), because lots of recipes which inherit autotools bbclass also define do_install_append(). So the current approach would fix some, but break a set of other packages.

why? got an example?

Seems I was wrong about how _append is exactly handled. Please disregard
my earlier mail.

Sorry for the noise.

Signature · 1 line
Kalev
#5 lore raw

+1

We have a similar patch on mamona tree, but this one seems more complete.

Quoted 25 lines · Kalev Lember
Quoted 10 lines · Holger Freyther
Quoted 5 lines · On Thursday 30 October 2008 11:57:24 Kalev Lember wrote:

I think it might not be a good idea to do it in do_install_append(), because lots of recipes which inherit autotools bbclass also define do_install_append(). So the current approach would fix some, but break a set of other packages.

why? got an example?

Seems I was wrong about how _append is exactly handled. Please disregard
my earlier mail.

Sorry for the noise.

--
Kalev

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Signature · 4 lines
Rodrigo Vivi
INdT - Instituto Nokia de Tecnologia
Blog: http://blog.vivi.eng.br
GPG: 0x905BE242 @ wwwkeys.pgp.net