mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-17 04:37:19 +00:00
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>
This commit is contained in:
@@ -20,17 +20,17 @@ EXTRA_OECONF = "--with-libiconv-prefix=${STAGING_DIR_HOST}${layout_exec_prefix}"
|
|||||||
|
|
||||||
do_configure_prepend() {
|
do_configure_prepend() {
|
||||||
# remove failing test which checks for something that isn't even used
|
# 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() {
|
do_configure_append() {
|
||||||
sed -i s:-I/usr/include::g Makefile
|
sed -i s:-I/usr/include::g ${B}/Makefile
|
||||||
sed -i s:-I/usr/include::g */Makefile
|
sed -i s:-I/usr/include::g ${B}/*/Makefile
|
||||||
}
|
}
|
||||||
|
|
||||||
do_compile() {
|
do_compile() {
|
||||||
cd ${S}/tools && ${BUILD_CC} -o make_hash make_hash.c
|
cd ${S}/tools && ${BUILD_CC} -o make_hash make_hash.c
|
||||||
cd ..
|
cd ${B}
|
||||||
oe_runmake
|
oe_runmake
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user