diff options
author | Tim Orling <TicoTimo@gmail.com> | 2014-05-28 20:47:17 -0700 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-06-10 12:27:20 +0200 |
commit | ff7b1818968f8346d1907f66432e6b1fd34ef96e (patch) | |
tree | 75bb55f387813d07a55cb886713690166af37aa6 /meta-oe/recipes-support | |
parent | 05620be79aebb2608044891c5fbaef2659c77986 (diff) | |
download | meta-openembedded-ff7b1818968f8346d1907f66432e6b1fd34ef96e.tar.gz |
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>
Diffstat (limited to 'meta-oe/recipes-support')
-rw-r--r-- | meta-oe/recipes-support/enca/enca_1.9.bb | 8 |
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 e65a143e5..ea38946f3 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}" | |||
20 | 20 | ||
21 | do_configure_prepend() { | 21 | do_configure_prepend() { |
22 | # remove failing test which checks for something that isn't even used | 22 | # remove failing test which checks for something that isn't even used |
23 | sed -i -e '/ye_FUNC_SCANF_MODIF_SIZE_T/d' configure.ac | 23 | sed -i -e '/ye_FUNC_SCANF_MODIF_SIZE_T/d' ${S}/configure.ac |
24 | } | 24 | } |
25 | 25 | ||
26 | do_configure_append() { | 26 | do_configure_append() { |
27 | sed -i s:-I/usr/include::g Makefile | 27 | sed -i s:-I/usr/include::g ${B}/Makefile |
28 | sed -i s:-I/usr/include::g */Makefile | 28 | sed -i s:-I/usr/include::g ${B}/*/Makefile |
29 | } | 29 | } |
30 | 30 | ||
31 | do_compile() { | 31 | do_compile() { |
32 | cd ${S}/tools && ${BUILD_CC} -o make_hash make_hash.c | 32 | cd ${S}/tools && ${BUILD_CC} -o make_hash make_hash.c |
33 | cd .. | 33 | cd ${B} |
34 | oe_runmake | 34 | oe_runmake |
35 | } | 35 | } |
36 | 36 | ||