summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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() {