From: Justin Patrin Date: Fri, 9 Sep 2005 23:34:32 +0000 (+0000) Subject: edje-native: Use the staged cross-compile binaries to avoid host version mismatches X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c66755dc7ec756688ddfd0ce0920b4c2b14711a5;p=openembedded.git edje-native: Use the staged cross-compile binaries to avoid host version mismatches --- 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() {