azy: simplify do_configure

* probably because of
  http://git.openembedded.org/bitbake/commit/?id=9fc98f96f0e0320beda0ce9546275a99336732c1
  it now failed with
  /OE/jansa-test/shr-core/tmp-eglibc/work/x86_64-linux/azy-native/2_1.0.0+svnr80969-r0/temp/run.do_configure.30731: line 88: efl_do_configure: command not found
  ERROR: Function failed: do_configure (see /OE/jansa-test/shr-core/tmp-eglibc/work/x86_64-linux/azy-native/2_1.0.0+svnr80969-r0/temp/log.do_configure.30731 for further information)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Martin Jansa
2012-12-16 21:03:06 +01:00
parent 93f954c334
commit 833d36faf0
+3 -5
View File
@@ -5,6 +5,8 @@ LICENSE = "LGPLv2.1+"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
PV = "1.0.0+svnr${SRCPV}"
PR = "r1"
SRCREV = "${EFL_SRCREV}"
# to provide native lemon binary
@@ -12,14 +14,10 @@ BBCLASSEXTEND = "native"
EXTRA_OECONF += " --disable-mysql-tests"
do_configure_class-target() {
do_configure_prepend_class-target() {
sed -i "s#\./lemon#${STAGING_BINDIR_NATIVE}/lemon#g" ${S}/src/bin/Makefile.am
sed -i "s#\$(top_builddir)/src/bin/azy_parser -H -p -o#${STAGING_BINDIR_NATIVE}/azy_parser -H -p -o#g" ${S}/src/tests/Makefile.am
sed -i "s#\$(top_builddir)/src/bin/azy_parser -eHn -m#${STAGING_BINDIR_NATIVE}/azy_parser -eHn -m#g" ${S}/src/tests/identi.ca/Makefile.am
efl_do_configure
}
do_configure_class-native() {
efl_do_configure
}
do_install_append_class-native() {