From ff7b1818968f8346d1907f66432e6b1fd34ef96e Mon Sep 17 00:00:00 2001 From: Tim Orling Date: Wed, 28 May 2014 20:47:17 -0700 Subject: enca: fix S!=B failure Point tools to the right paths: * ${S}/configure.ac in do_configure_prepare() * ${B}/Makefile in do_configure_append() * cd ${B} in do_compile() Signed-off-by: Tim Orling Signed-off-by: Martin Jansa --- meta-oe/recipes-support/enca/enca_1.9.bb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'meta-oe/recipes-support/enca') diff --git a/meta-oe/recipes-support/enca/enca_1.9.bb b/meta-oe/recipes-support/enca/enca_1.9.bb index e65a143e51..ea38946f3f 100644 --- a/meta-oe/recipes-support/enca/enca_1.9.bb +++ b/meta-oe/recipes-support/enca/enca_1.9.bb @@ -20,17 +20,17 @@ EXTRA_OECONF = "--with-libiconv-prefix=${STAGING_DIR_HOST}${layout_exec_prefix}" do_configure_prepend() { # remove failing test which checks for something that isn't even used - sed -i -e '/ye_FUNC_SCANF_MODIF_SIZE_T/d' configure.ac + sed -i -e '/ye_FUNC_SCANF_MODIF_SIZE_T/d' ${S}/configure.ac } do_configure_append() { - sed -i s:-I/usr/include::g Makefile - sed -i s:-I/usr/include::g */Makefile + sed -i s:-I/usr/include::g ${B}/Makefile + sed -i s:-I/usr/include::g ${B}/*/Makefile } do_compile() { cd ${S}/tools && ${BUILD_CC} -o make_hash make_hash.c - cd .. + cd ${B} oe_runmake } -- cgit 1.2.3-korg