aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Orling <TicoTimo@gmail.com>2014-05-28 20:47:17 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2014-06-10 12:27:20 +0200
commitff7b1818968f8346d1907f66432e6b1fd34ef96e (patch)
tree75bb55f387813d07a55cb886713690166af37aa6
parent05620be79aebb2608044891c5fbaef2659c77986 (diff)
downloadmeta-openembedded-contrib-ff7b1818968f8346d1907f66432e6b1fd34ef96e.tar.gz
meta-openembedded-contrib-ff7b1818968f8346d1907f66432e6b1fd34ef96e.tar.bz2
meta-openembedded-contrib-ff7b1818968f8346d1907f66432e6b1fd34ef96e.zip
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 <TicoTimo@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-oe/recipes-support/enca/enca_1.9.bb8
1 files changed, 4 insertions, 4 deletions
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
}