[oe] staging ABI changes and broken idium
Koen Kooi
koen at dominion.kabel.utwente.nl
Wed Mar 12 07:54:56 UTC 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Holger Freyther schreef:
| Hey,
| I was a bit stupid and fought with this issue:
|
| do_compile_prepend() {
| sed -i s,/usr/include,${STAGING_INCDIR},g Makefile
| }
|
|
| What is wrong with this? STAGING_INCDIR is now ending with
/usr/include. I
| have grepped through our bb files and searched for this and found
quite some
| files doing this.
|
| How to tackle this issue:
| a) Fix the autotools/Makefile.am to not have $(includedir) there
If that was the case, the sed would have been:
(from gimp.inc)
do_configure_append() {
~ find ${S} -name Makefile | xargs sed -i s:'-I$(includedir)':'-I.':g
}
AFAIK s,/usr/include,${STAGING_INCDIR},g is used for recipe using
binconfig based stuff.
| b) change the sed to be 'absolute' -I/usr/include
sed -i s,/usr/include,/usr/include,g Makefile or sed -i
s,${STAGING_INCDIR},/usr/include,g ?
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFH14xQMkyGM64RGpERArQaAKC9MsEXrAe3YNXpcfgdnf0+BdRMQACeKv5G
AkGFBZ675yCmWLocZvG2tTE=
=KGYe
-----END PGP SIGNATURE-----
More information about the Openembedded-devel
mailing list