All of lore.kernel.org
 help / color / mirror / Atom feed
From: Koen Kooi <koen@dominion.kabel.utwente.nl>
To: openembedded-devel@openembedded.org
Subject: Re: staging ABI changes and broken idium
Date: Wed, 12 Mar 2008 08:54:56 +0100	[thread overview]
Message-ID: <fr828g$l2n$1@ger.gmane.org> (raw)
In-Reply-To: <200803120827.29003.zecke@selfish.org>

-----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-----




  reply	other threads:[~2008-03-12  7:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-12  7:27 staging ABI changes and broken idium Holger Freyther
2008-03-12  7:54 ` Koen Kooi [this message]
2008-03-12  7:59   ` Koen Kooi
2008-03-12  8:18     ` Holger Freyther
2008-03-12  9:17       ` Richard Purdie
2008-03-12  9:42         ` Holger Freyther
2008-03-12  8:37     ` Holger Freyther
2008-03-12  8:24   ` Holger Freyther

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='fr828g$l2n$1@ger.gmane.org' \
    --to=koen@dominion.kabel.utwente.nl \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=openembedded-devel@openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.