summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorJustin Patrin <papercrane@gmail.com>2005-10-05 23:25:49 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-10-05 23:25:49 +0000
commita9e4f9da6ecb564965ec017ccc764a9d4a44f047 (patch)
tree140e8d3bee19839e75a777943f0da60ba21a55d9 /classes
parent055d561eee0c4e74994d1214524a98c52cf878f3 (diff)
efl, e-wm: add a quick sed fix for e builds using system include paths
- This is not likely to affect anyone except 64-bit linux users who have multiple files files -- This definately affects Gentoo linux on amd64. It has a stub header which includes a 386 or x86_64 depending on defines. However, since OE normally compiles for non-x86 this header actually includes nothing and stops the compile altogether due to missing typedefs and prototypes.
Diffstat (limited to 'classes')
-rw-r--r--classes/efl.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/classes/efl.bbclass b/classes/efl.bbclass
index 16c2dba0b8..964748e85c 100644
--- a/classes/efl.bbclass
+++ b/classes/efl.bbclass
@@ -38,6 +38,10 @@ export ESMART_CONFIG = "${STAGING_BINDIR}/esmart-config${@binconfig_suffix(d)}"
export FREETYPE_CONFIG = "${STAGING_BINDIR}/freetype-config${@binconfig_suffix(d)}"
export IMLIB2_CONFIG = "${STAGING_BINDIR}/imlib2-config${@binconfig_suffix(d)}"
+do_compile_prepend() {
+ find ${S} -name Makefile | xargs sed -i 's:/usr/include:${STAGING_INCDIR}:'
+}
+
do_stage_append () {
for i in ${libraries}
do