summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorJustin Patrin <papercrane@gmail.com>2005-09-09 23:34:32 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-09-09 23:34:32 +0000
commitc66755dc7ec756688ddfd0ce0920b4c2b14711a5 (patch)
tree8d7665a2f4346b1bacbcfc476e3594a6c4194a3a /packages
parent4a9c78c951bff090fcc5e45e215243c364eef589 (diff)
edje-native: Use the staged cross-compile binaries to avoid host version mismatches
Diffstat (limited to 'packages')
-rw-r--r--packages/efl/edje-native_0.5.0.013.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/efl/edje-native_0.5.0.013.bb b/packages/efl/edje-native_0.5.0.013.bb
index d09bc2aaf0..3c94c657ed 100644
--- a/packages/efl/edje-native_0.5.0.013.bb
+++ b/packages/efl/edje-native_0.5.0.013.bb
@@ -1,4 +1,7 @@
include edje_${PV}.bb
+
+REAL_TARGET_SYS := ${TARGET_SYS}
+
inherit native
DEPENDS = "evas-native ecore-native eet-native embryo-native imlib2-native"
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/edje"
@@ -12,6 +15,8 @@ EXTRA_OECONF = "--with-fb-only \
do_configure_prepend() {
sed -i 's:EMBRYO_PREFIX"/bin:"${STAGING_BINDIR}:' ${S}/src/bin/edje_cc_out.c
+ sed -i 's:/usr/bin/cpp:${STAGING_DIR}/cross/bin/${REAL_TARGET_SYS}-cpp:' ${S}/src/bin/edje_cc_parse.c
+ sed -i 's:/usr/bin/gcc:${STAGING_DIR}/cross/bin/${REAL_TARGET_SYS}-gcc:' ${S}/src/bin/edje_cc_parse.c
}
do_stage_append() {